summaryrefslogtreecommitdiffstats
path: root/app/controllers/my_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-17 06:35:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-17 06:35:28 +0000
commitcad0036297bdecc13bcd5cb66f439081ca2bae9f (patch)
tree69b512a3feed4cbe400b56bee82fb6f70c6e25b8 /app/controllers/my_controller.rb
parentff50094d3e45723e761c6980dfe1c5204facbd92 (diff)
downloadredmine-cad0036297bdecc13bcd5cb66f439081ca2bae9f.tar.gz
redmine-cad0036297bdecc13bcd5cb66f439081ca2bae9f.zip
Use head instead of render :nothing => true.
git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r--app/controllers/my_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb
index aefb30282..6597fb245 100644
--- a/app/controllers/my_controller.rb
+++ b/app/controllers/my_controller.rb
@@ -206,6 +206,6 @@ class MyController < ApplicationController
@user.pref.save
end
end
- render :nothing => true
+ head 200
end
end