Skip to content

Commit 0daf161

Browse files
committed
Merge pull request rails#20929 from y-yagi/fix_deprecated_warning
use `plain` option instead of deprecated `text` option
2 parents e78746f + fec638c commit 0daf161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/bug_report_templates/action_controller_master.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TestController < ActionController::Base
3131
include Rails.application.routes.url_helpers
3232

3333
def index
34-
render text: 'Home'
34+
render plain: 'Home'
3535
end
3636
end
3737

0 commit comments

Comments
 (0)