aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-07-18 17:37:34 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-07-18 17:37:34 +0900
commitfec638cf1aa2716077b35f0e21013e32392acd98 (patch)
tree82095f1f88d8f26260305e42600dba82a1678481 /guides/bug_report_templates
parente78746fefdd1c5528a10ca23a5f40804ef855086 (diff)
downloadrails-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/bug_report_templates')
-rw-r--r--guides/bug_report_templates/action_controller_master.rb2
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