summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2017-06-17 15:40:12 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-25 22:58:55 +0900
commita48ac407109862c16ed57d3a10e8256aff394a07 (patch)
tree5fa977cce539f409ebffa123536bb17048acadfd /app/controllers
parent391732a2c1b04baf565c77f2788a1ec035b1d85e (diff)
downloadgitlab-ce-a48ac407109862c16ed57d3a10e8256aff394a07.tar.gz
Drop JSON response in Project Milestone along with avoiding error
Diffstat (limited to 'app/controllers')
-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