diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-07-18 17:37:34 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-07-18 17:37:34 +0900 |
commit | fec638cf1aa2716077b35f0e21013e32392acd98 (patch) | |
tree | 82095f1f88d8f26260305e42600dba82a1678481 /guides | |
parent | e78746fefdd1c5528a10ca23a5f40804ef855086 (diff) | |
download | rails-fec638cf1aa2716077b35f0e21013e32392acd98.tar.gz rails-fec638cf1aa2716077b35f0e21013e32392acd98.tar.bz2 rails-fec638cf1aa2716077b35f0e21013e32392acd98.zip |
use `plain` option instead of deprecated `text` option
this will silence deprecation warnings
Diffstat (limited to 'guides')
-rw-r--r-- | guides/bug_report_templates/action_controller_master.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |