summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/revision.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 11:46:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 11:46:58 +0000
commit2cbf9c9cc48135019dae50ccc5d9b07a44af8325 (patch)
treea191f37eca9f1cd62ad15c8fa04af319d8068d6b /app/views/repositories/revision.html.erb
parentdd9c2cafa795ec00875981dcedd3287d2d005457 (diff)
downloadredmine-2cbf9c9cc48135019dae50ccc5d9b07a44af8325.tar.gz
redmine-2cbf9c9cc48135019dae50ccc5d9b07a44af8325.zip
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories/revision.html.erb')
-rw-r--r--app/views/repositories/revision.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
index c1e2413e1..b9293d9d5 100644
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -83,7 +83,7 @@
:id => @project,
:repository_id => @repository.identifier_param,
:path => "",
- :rev => @changeset.identifier) if @changeset.changes.any? %></p>
+ :rev => @changeset.identifier) if @changeset.filechanges.any? %></p>
<div class="changeset-changes">
<%= render_changeset_changes %>