summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-10-15 16:59:48 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-10-21 22:54:37 +0400
commit6173d0a92f4b8e472d5d71e3518ae5460257d39e (patch)
tree0024506e1b22d7f6e417587a00d3fb4bc4fc80c0 /app/controllers
parent5717304098ae81285a5a616fb066e9ae7ea88f54 (diff)
downloadgitlab-ce-6173d0a92f4b8e472d5d71e3518ae5460257d39e.tar.gz
Show branches list (which branches contains commit) on commit page
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/commit_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb
index bdc501d73bb..242aa41182d 100644
--- a/app/controllers/projects/commit_controller.rb
+++ b/app/controllers/projects/commit_controller.rb
@@ -22,6 +22,7 @@ class Projects::CommitController < Projects::ApplicationController
@note = result[:note]
@line_notes = result[:line_notes]
+ @branches = result[:branches]
@notes_count = result[:notes_count]
@target_type = :commit
@target_id = @commit.id