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:
parent
b02429e864
commit
e03cfe1443
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue