Fixed messages. New styling for token input plugin.
This commit is contained in:
parent
c0c41a7752
commit
52e62f8ddb
14 changed files with 359 additions and 412 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue