Skip to content

Commit

Permalink
Merge pull request #20930 from prathamesh-sonpatki/rm-render-text
Browse files Browse the repository at this point in the history
 Replaced render :text with render :plain in AC gem bug report template
  • Loading branch information
sgrif committed Jul 18, 2015
2 parents 0daf161 + dafe299 commit c7449a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/bug_report_templates/action_controller_gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TestController < ActionController::Base
include Rails.application.routes.url_helpers

def index
render text: 'Home'
render plain: 'Home'
end
end

Expand Down

1 comment on commit c7449a2

@jonatack
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't think this was backported. Perhaps it should only be in the template for Rails master?

Please sign in to comment.