Refactor more controller tests
This commit is contained in:
parent
ee783bcee9
commit
03cde71a5e
6 changed files with 191 additions and 216 deletions
|
@ -34,6 +34,7 @@ class MessagesController < ApplicationController
|
|||
Notifier.message_notification(@message).deliver_later
|
||||
redirect_to :action => :inbox
|
||||
else
|
||||
@title = t "messages.new.title"
|
||||
render :action => "new"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue