diff options
Diffstat (limited to 'app/controllers/commits_controller.rb')
| -rw-r--r-- | app/controllers/commits_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb index 5ddce3c0df8..0d36957c43f 100644 --- a/app/controllers/commits_controller.rb +++ b/app/controllers/commits_controller.rb @@ -29,16 +29,9 @@ class CommitsController < ApplicationController git_not_found! and return unless @commit - @notes = project.commit_notes(@commit).fresh.limit(20) @note = @project.build_commit_note(@commit) - @comments_allowed = true @line_notes = project.commit_line_notes(@commit) - - respond_to do |format| - format.html - format.js { respond_with_notes } - end end def compare |
