summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-03-28 12:44:09 +0000
committerRémy Coutable <remy@rymai.me>2018-03-28 12:44:09 +0000
commit11048808528898dc69ecec3fa1a5129fcec1b3ba (patch)
tree89c3ca0983d154d4ff3f5a9941e12c69604d8521 /app/controllers/projects
parentcb94afc561c08db1b2312020e9d0a3e2f5837494 (diff)
parenta48ac407109862c16ed57d3a10e8256aff394a07 (diff)
downloadgitlab-ce-11048808528898dc69ecec3fa1a5129fcec1b3ba.tar.gz
Merge branch '33803-drop-json-support-in-project-milestone' into 'master'
Drop JSON support from Projects::MilestonesController#show Closes #33803 See merge request gitlab-org/gitlab-ce!17977
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/milestones_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects/milestones_controller.rb b/app/controllers/projects/milestones_controller.rb
index ff93147d00f..cf84629fadc 100644
--- a/app/controllers/projects/milestones_controller.rb
+++ b/app/controllers/projects/milestones_controller.rb
@@ -42,6 +42,10 @@ class Projects::MilestonesController < Projects::ApplicationController
def show
@project_namespace = @project.namespace.becomes(Namespace)
+
+ respond_to do |format|
+ format.html
+ end
end
def create