summaryrefslogtreecommitdiff
path: root/app/controllers/commits_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-14 23:48:42 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-14 23:48:42 +0200
commita7bcc2eb5ce47a691e2afa3d5e597eb1710600ca (patch)
tree9e372a1972ef2b55f19a4ef6789f89097598b6d0 /app/controllers/commits_controller.rb
parentc062e56b4cc8d0397bb709e4f5e3aa251b63aa90 (diff)
downloadgitlab-ce-a7bcc2eb5ce47a691e2afa3d5e597eb1710600ca.tar.gz
submodules displayed for tree view
Diffstat (limited to 'app/controllers/commits_controller.rb')
-rw-r--r--app/controllers/commits_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index 18f2758794e..c7fcae3b79a 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -28,6 +28,7 @@ class CommitsController < ApplicationController
@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|