diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
commit | d71f289fb29d7818620725346ed42ea6952708fa (patch) | |
tree | dd6a495483a386d9cf1da0d20581bd4b5c3b81f0 /actionview/test | |
parent | 4e73ffa9b45904492815f8f67d4695ef719e0350 (diff) | |
download | rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.gz rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.bz2 rails-d71f289fb29d7818620725346ed42ea6952708fa.zip |
stop using removed `render :text`
Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/ujs/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/ujs/server.rb b/actionview/test/ujs/server.rb index c7698c87fa..cc02cd8419 100644 --- a/actionview/test/ujs/server.rb +++ b/actionview/test/ujs/server.rb @@ -96,7 +96,7 @@ class TestsController < ActionController::Base render html: html.html_safe else - render text: "ERROR: #{request.path} requested without ajax", status: 404 + render plain: "ERROR: #{request.path} requested without ajax", status: 404 end end end |