summaryrefslogtreecommitdiff
path: root/app/controllers/projects/commit_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-12 20:17:57 -0500
committerDouwe Maan <douwe@selenight.nl>2016-08-12 20:17:57 -0500
commitccd44546589297bcb36a92f8cbb1a6d13bcf1abf (patch)
tree0329650048d2f4988b9c700ecf97f1c91063f3cb /app/controllers/projects/commit_controller.rb
parent5a07b760dff04660d9c7da84852c710b1fc2f786 (diff)
downloadgitlab-ce-ccd44546589297bcb36a92f8cbb1a6d13bcf1abf.tar.gz
Fix autocomplete on commit and issue/MR edit pages
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r--app/controllers/projects/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb
index f44e9bb3fd7..02fb3f56890 100644
--- a/app/controllers/projects/commit_controller.rb
+++ b/app/controllers/projects/commit_controller.rb
@@ -93,7 +93,7 @@ class Projects::CommitController < Projects::ApplicationController
end
def commit
- @commit ||= @project.commit(params[:id])
+ @noteable = @commit ||= @project.commit(params[:id])
end
def pipelines