diff options
author | Johan Sørensen <johan@johansorensen.com> | 2008-03-02 17:47:54 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2008-03-02 17:50:47 +0100 |
commit | b456f2e5848459cdea9a1878aa3ca2088d21cf67 (patch) | |
tree | f210d45301ed3adc0b3955629e0057c820736c7b /app/controllers/comments_controller.rb | |
parent | 9fbbef6f7e7f2aedc6f91cd0cfdcadf7afb137d9 (diff) | |
download | gitorious-mainline-outdated-b456f2e5848459cdea9a1878aa3ca2088d21cf67.zip gitorious-mainline-outdated-b456f2e5848459cdea9a1878aa3ca2088d21cf67.tar.gz gitorious-mainline-outdated-b456f2e5848459cdea9a1878aa3ca2088d21cf67.tar.bz2 |
MergeRequest wrapup of views and permissions
Diffstat (limited to 'app/controllers/comments_controller.rb')
-rw-r--r-- | app/controllers/comments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index ea91072..a0cbdab 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -5,7 +5,7 @@ class CommentsController < ApplicationController def index @comments = @repository.comments.find(:all, :include => :user) - @merge_request_count = @repository.merge_requests.count + @merge_request_count = @repository.merge_requests.count_open @atom_auto_discovery_url = formatted_project_repository_comments_path(@project, @repository, :atom) respond_to do |format| format.html { } |