Fixed messages. New styling for token input plugin.

This commit is contained in:
benni 2012-10-08 18:19:15 +02:00
parent c0c41a7752
commit 52e62f8ddb
14 changed files with 359 additions and 412 deletions

View file

@ -2,7 +2,7 @@ class MessagesController < ApplicationController
# Renders the "inbox" action.
def index
@messages = Message.public.paginate :page => params[:page], :per_page => 20, :order => 'created_at DESC'
@messages = Message.public.page(params[:page]).per(@per_page).order('created_at DESC')
end
# Creates a new message object.