From e03cfe1443cb99e0f5d1fbacbac01696c8ecaad3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 10 Jan 2014 11:23:28 +0000 Subject: [PATCH] remove unneeded Relation#all from RepositoriesHelper#render_changeset_changes git-svn-id: http://svn.redmine.org/redmine/trunk@12604 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index ae45d2a58..fe19755e0 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -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