Refactor more controller tests

This commit is contained in:
Tom Hughes 2020-04-26 20:33:06 +01:00
parent ee783bcee9
commit 03cde71a5e
6 changed files with 191 additions and 216 deletions

View 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