summaryrefslogtreecommitdiff
path: root/app/controllers/explore
diff options
context:
space:
mode:
authorRiccardo Padovani <rpadovani@nextbit.it>2019-01-28 10:45:49 +0000
committerPhil Hughes <me@iamphill.com>2019-01-28 10:45:49 +0000
commitbd7ba9c59bc1acd1f7cbfa99a7d636dd1611e0d4 (patch)
tree47f107c0ac336df967e2ac8ccc518d4a706bc9a0 /app/controllers/explore
parent49c12f9b0fec9a0153f866a0f6f27ed5eb336bf0 (diff)
downloadgitlab-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.rb6
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