aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-07-18 08:24:50 -0400
committerSean Griffin <sean@seantheprogrammer.com>2015-07-18 08:24:50 -0400
commitc7449a2269c3d8b3f68b93401ab7a4fc524da918 (patch)
tree187b09a6c148b68e6848b32bcbf90f8ce677c71a
parent0daf1619a0631f7a5022645aca3a39b6d1ab7d07 (diff)
parentdafe2997cadfbac38bc92d96b16b7e096cf53735 (diff)
downloadrails-c7449a2269c3d8b3f68b93401ab7a4fc524da918.tar.gz
rails-c7449a2269c3d8b3f68b93401ab7a4fc524da918.tar.bz2
rails-c7449a2269c3d8b3f68b93401ab7a4fc524da918.zip
Merge pull request #20930 from prathamesh-sonpatki/rm-render-text
Replaced render :text with render :plain in AC gem bug report template
-rw-r--r--guides/bug_report_templates/action_controller_gem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb
index 11561c55f9..58ba708a39 100644
--- a/guides/bug_report_templates/action_controller_gem.rb
+++ b/guides/bug_report_templates/action_controller_gem.rb
@@ -32,7 +32,7 @@ class TestController < ActionController::Base
include Rails.application.routes.url_helpers
def index
- render text: 'Home'
+ render plain: 'Home'
end
end