projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'upstream/pull/2640'
[rails.git]
/
app
/
controllers
/
messages_controller.rb
diff --git
a/app/controllers/messages_controller.rb
b/app/controllers/messages_controller.rb
index 5aa5aba709e33c2bf8f15a3e8442b928de548afc..a55690951141fd8e774baa4833b6a23e2e923aa4 100644
(file)
--- a/
app/controllers/messages_controller.rb
+++ b/
app/controllers/messages_controller.rb
@@
-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