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:
Toshi MARUYAMA 2014-01-10 11:23:28 +00:00
parent b02429e864
commit e03cfe1443
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module RepositoriesHelper
end end
def render_changeset_changes 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 case change.action
when 'A' when 'A'
# Detects moved/copied files # Detects moved/copied files