]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to MessagesController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 5 Nov 2020 13:42:23 +0000 (13:42 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 5 Nov 2020 13:42:23 +0000 (13:42 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20263 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/messages_controller.rb

index 69af02066f47bee385fbcb8c661a5b67f55944be..45c5b3156b68f1b20f81660430e54d8a9137bb8d 100644 (file)
@@ -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