Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2017-06-17 09:40:12 +0300
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-25 16:58:55 +0300
commita48ac407109862c16ed57d3a10e8256aff394a07 (patch)
tree5fa977cce539f409ebffa123536bb17048acadfd /app/controllers/projects/milestones_controller.rb
parent391732a2c1b04baf565c77f2788a1ec035b1d85e (diff)
Drop JSON response in Project Milestone along with avoiding error
Diffstat (limited to 'app/controllers/projects/milestones_controller.rb')
-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