diff options
author | Rémy Coutable <remy@rymai.me> | 2018-03-28 12:44:09 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-03-28 12:44:09 +0000 |
commit | 11048808528898dc69ecec3fa1a5129fcec1b3ba (patch) | |
tree | 89c3ca0983d154d4ff3f5a9941e12c69604d8521 /app/controllers/projects | |
parent | cb94afc561c08db1b2312020e9d0a3e2f5837494 (diff) | |
parent | a48ac407109862c16ed57d3a10e8256aff394a07 (diff) | |
download | gitlab-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.rb | 4 |
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 |