summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-05 13:42:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-05 13:42:23 +0000
commitbe0cb8e3c99882d21a508a5f28b6c2e644ef0a9b (patch)
treed80cbee5ea20b1e364ba6901ac691b002ce7bc9b
parent76b3dbe3081c807d102ec74ed6c68f3e1080ca5c (diff)
downloadredmine-be0cb8e3c99882d21a508a5f28b6c2e644ef0a9b.tar.gz
redmine-be0cb8e3c99882d21a508a5f28b6c2e644ef0a9b.zip
add empty line after guard clause to MessagesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20263 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/messages_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb
index 69af02066..45c5b3156 100644
--- a/app/controllers/messages_controller.rb
+++ b/app/controllers/messages_controller.rb
@@ -138,6 +138,7 @@ class MessagesController < ApplicationController
def find_message
return unless find_board
+
@message = @board.messages.includes(:parent).find(params[:id])
@topic = @message.root
rescue ActiveRecord::RecordNotFound