summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-24 20:34:19 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-24 20:34:19 +0100
commit43a3a401bdffaab2baf87f6c68f9a34a33f5b36d (patch)
tree7c4ddd70328573b0b4aa02c309bba57aed2d1758 /app/controllers/projects_controller.rb
parent396c5c97ddbbe0744d9c27d855c22e2a57546ea1 (diff)
parente3befaed82f9aa52c79a1d4c437fe4fc63f8d07a (diff)
downloadgitlab-ce-43a3a401bdffaab2baf87f6c68f9a34a33f5b36d.tar.gz
Merge branch 'master' into mention-all
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 682dbf2766a..3004722bce0 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -171,7 +171,7 @@ class ProjectsController < ApplicationController
@project.reload
render json: {
- html: view_to_html_string("projects/buttons/_star")
+ star_count: @project.star_count
}
end