Added ability to send private messages.
This commit is contained in:
parent
e4c394d881
commit
843e4a7233
3 changed files with 11 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ class MessagesController < ApplicationController
|
|||
|
||||
# Renders the "inbox" action.
|
||||
def index
|
||||
@messages = Message.all :order => 'created_at DESC', :limit => 100
|
||||
@messages = Message.public.all :order => 'created_at DESC', :limit => 100
|
||||
end
|
||||
|
||||
# Creates a new message object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue