From e7f6297e7c0096b165e793662800832a93c506a5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 4 Nov 2020 14:44:30 +0000 Subject: [PATCH] add empty line after guard clause to AttachmentsController git-svn-id: http://svn.redmine.org/redmine/trunk@20253 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/attachments_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index f493177ec..f47da554e 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -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