mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
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
This commit is contained in:
parent
57348f6e71
commit
881c99f162
@ -250,7 +250,6 @@ Layout/IndentAssignment:
|
||||
Exclude:
|
||||
- 'app/helpers/application_helper.rb'
|
||||
- 'app/helpers/issues_helper.rb'
|
||||
- 'app/helpers/repositories_helper.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||
- 'test/unit/lib/redmine/helpers/gantt_test.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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user