From d71f289fb29d7818620725346ed42ea6952708fa Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 3 Dec 2016 15:28:59 +0900 Subject: stop using removed `render :text` Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496 --- actionview/test/ujs/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview') 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 -- cgit v1.2.3