]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to AttachmentsController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 4 Nov 2020 14:44:30 +0000 (14:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 4 Nov 2020 14:44:30 +0000 (14:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20253 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/attachments_controller.rb

index f493177eca24624fdb55d55d856b2c76232b8aae..f47da554e55fdcbf94e45703d7aea8b0b134e18b 100644 (file)
@@ -207,6 +207,7 @@ class AttachmentsController < ApplicationController
     @attachment = Attachment.find(params[:id])
     # Show 404 if the filename in the url is wrong
     raise ActiveRecord::RecordNotFound if params[:filename] && params[:filename] != @attachment.filename
+
     @project = @attachment.project
   rescue ActiveRecord::RecordNotFound
     render_404