diff options
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' |