diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-15 15:08:38 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-15 15:08:38 +0000 |
commit | 881c99f162b5b82c4df30fbdb22287e3d3591b0f (patch) | |
tree | 1a5a3b0f107aeb89324a5db38a6e835cc3b3df4a /app | |
parent | 57348f6e71b0881f743d4bcb0b9674d786ff3e36 (diff) | |
download | redmine-881c99f162b5b82c4df30fbdb22287e3d3591b0f.tar.gz redmine-881c99f162b5b82c4df30fbdb22287e3d3591b0f.zip |
code cleanup: rubocop: fix Layout/IndentAssignment in app/helpers/repositories_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18472 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/repositories_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 4d93b67d1..c9b749b98 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -58,7 +58,7 @@ module RepositoriesHelper # Detects moved/copied files if !change.from_path.blank? change.action = - @changeset.filechanges.detect {|c| c.action == 'D' && c.path == change.from_path} ? 'R' : 'C' + @changeset.filechanges.detect {|c| c.action == 'D' && c.path == change.from_path} ? 'R' : 'C' end change when 'D' |