diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-07-18 13:06:42 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-07-18 13:06:42 +0200 |
commit | 0daf1619a0631f7a5022645aca3a39b6d1ab7d07 (patch) | |
tree | 82095f1f88d8f26260305e42600dba82a1678481 /guides | |
parent | e78746fefdd1c5528a10ca23a5f40804ef855086 (diff) | |
parent | fec638cf1aa2716077b35f0e21013e32392acd98 (diff) | |
download | rails-0daf1619a0631f7a5022645aca3a39b6d1ab7d07.tar.gz rails-0daf1619a0631f7a5022645aca3a39b6d1ab7d07.tar.bz2 rails-0daf1619a0631f7a5022645aca3a39b6d1ab7d07.zip |
Merge pull request #20929 from y-yagi/fix_deprecated_warning
use `plain` option instead of deprecated `text` option
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 |