mirror of
https://github.com/redmine/redmine.git
synced 2026-03-22 12:22:32 +01:00
remove unneeded Relation#all from RepositoriesHelper#render_changeset_changes
git-svn-id: http://svn.redmine.org/redmine/trunk@12604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -43,7 +43,7 @@ module RepositoriesHelper
|
||||
end
|
||||
|
||||
def render_changeset_changes
|
||||
changes = @changeset.filechanges.limit(1000).reorder('path').all.collect do |change|
|
||||
changes = @changeset.filechanges.limit(1000).reorder('path').collect do |change|
|
||||
case change.action
|
||||
when 'A'
|
||||
# Detects moved/copied files
|
||||
|
||||
Reference in New Issue
Block a user