]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/messages_controller.rb
Refactor more controller tests
[rails.git] / app / controllers / messages_controller.rb
index 5aa5aba709e33c2bf8f15a3e8442b928de548afc..a55690951141fd8e774baa4833b6a23e2e923aa4 100644 (file)
@@ -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