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:
authorPhil Hughes <me@iamphill.com>2016-07-13 14:40:11 +0300
committerDouwe Maan <douwe@selenight.nl>2016-07-24 22:10:54 +0300
commit4af0146fa54eb24c0d2a267887c892c33b9ebc53 (patch)
tree05b62d24497f251589215f53cf1fb9b56a0eda54 /app/controllers/projects/notes_controller.rb
parent511a07881d8a44b10b5692055c8ea1d21b3fa7c2 (diff)
Assigns to variable rather than using VueJS method
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r--app/controllers/projects/notes_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb
index c3237fd360e..0b93dc31ac7 100644
--- a/app/controllers/projects/notes_controller.rb
+++ b/app/controllers/projects/notes_controller.rb
@@ -68,12 +68,12 @@ class Projects::NotesController < Projects::ApplicationController
def resolve
sleep 2
- render nothing: true, status: 200
+ head :ok
end
def resolve_all
sleep 2
- render nothing: true, status: 200
+ head :ok
end
private