From fec638cf1aa2716077b35f0e21013e32392acd98 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 18 Jul 2015 17:37:34 +0900 Subject: use `plain` option instead of deprecated `text` option this will silence deprecation warnings --- guides/bug_report_templates/action_controller_master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/bug_report_templates/action_controller_master.rb b/guides/bug_report_templates/action_controller_master.rb index 66887398b9..1a4b736348 100644 --- a/guides/bug_report_templates/action_controller_master.rb +++ b/guides/bug_report_templates/action_controller_master.rb @@ -31,7 +31,7 @@ class TestController < ActionController::Base include Rails.application.routes.url_helpers def index - render text: 'Home' + render plain: 'Home' end end -- cgit v1.2.3