Skip to content

Commit c7449a2

Browse files
committed
Merge pull request rails#20930 from prathamesh-sonpatki/rm-render-text
Replaced render :text with render :plain in AC gem bug report template
2 parents 0daf161 + dafe299 commit c7449a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/bug_report_templates/action_controller_gem.rb

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

3434
def index
35-
render text: 'Home'
35+
render plain: 'Home'
3636
end
3737
end
3838

0 commit comments

Comments
 (0)