diff options
author | Riccardo Padovani <rpadovani@nextbit.it> | 2019-01-28 10:45:49 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-01-28 10:45:49 +0000 |
commit | bd7ba9c59bc1acd1f7cbfa99a7d636dd1611e0d4 (patch) | |
tree | 47f107c0ac336df967e2ac8ccc518d4a706bc9a0 /app/controllers/explore | |
parent | 49c12f9b0fec9a0153f866a0f6f27ed5eb336bf0 (diff) | |
download | gitlab-ce-bd7ba9c59bc1acd1f7cbfa99a7d636dd1611e0d4.tar.gz |
Fix `star` action in the `explore` subpages
Diffstat (limited to 'app/controllers/explore')
-rw-r--r-- | app/controllers/explore/projects_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/explore/projects_controller.rb b/app/controllers/explore/projects_controller.rb index 9f074690cbc..f3d76c5a478 100644 --- a/app/controllers/explore/projects_controller.rb +++ b/app/controllers/explore/projects_controller.rb @@ -15,7 +15,7 @@ class Explore::ProjectsController < Explore::ApplicationController format.html format.json do render json: { - html: view_to_html_string("dashboard/projects/_projects", locals: { projects: @projects }) + html: view_to_html_string("explore/projects/_projects", locals: { projects: @projects }) } end end @@ -30,7 +30,7 @@ class Explore::ProjectsController < Explore::ApplicationController format.html format.json do render json: { - html: view_to_html_string("dashboard/projects/_projects", locals: { projects: @projects }) + html: view_to_html_string("explore/projects/_projects", locals: { projects: @projects }) } end end @@ -44,7 +44,7 @@ class Explore::ProjectsController < Explore::ApplicationController format.html format.json do render json: { - html: view_to_html_string("dashboard/projects/_projects", locals: { projects: @projects }) + html: view_to_html_string("explore/projects/_projects", locals: { projects: @projects }) } end end |