diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 13:18:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 13:18:21 +0000 |
commit | 4a60ebd848eb4268d060a69ea6c55de12a2a713a (patch) | |
tree | 717271865543294c25e349f6d937508cff29af09 /app/controllers/application_controller.rb | |
parent | 2c786065fb2a467852888dce21d886dfce67f844 (diff) | |
download | redmine-4a60ebd848eb4268d060a69ea6c55de12a2a713a.tar.gz redmine-4a60ebd848eb4268d060a69ea6c55de12a2a713a.zip |
cleanup: rubocop: fix Layout/SpaceInsideParens in app/controllers/application_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19253 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 02612e36f..62232ea06 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -365,7 +365,7 @@ class ApplicationController < ActionController::Base def find_attachments if (attachments = params[:attachments]).present? att = attachments.values.collect do |attachment| - Attachment.find_by_token( attachment[:token] ) if attachment[:token].present? + Attachment.find_by_token(attachment[:token]) if attachment[:token].present? end att.compact! end |