summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 11:23:28 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 11:23:28 +0000
commite03cfe1443cb99e0f5d1fbacbac01696c8ecaad3 (patch)
tree0dddf052cae1c35bcaf19f52ebc8dd12b2a92b24 /app/helpers/repositories_helper.rb
parentb02429e86423a9480aee20d855af619e0e049049 (diff)
downloadredmine-e03cfe1443cb99e0f5d1fbacbac01696c8ecaad3.tar.gz
redmine-e03cfe1443cb99e0f5d1fbacbac01696c8ecaad3.zip
remove unneeded Relation#all from RepositoriesHelper#render_changeset_changes
git-svn-id: http://svn.redmine.org/redmine/trunk@12604 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb2
1 files changed, 1 insertions, 1 deletions
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