From dafe2997cadfbac38bc92d96b16b7e096cf53735 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 18 Jul 2015 17:05:40 +0530 Subject: Replaced render :text with render :plain in AC gem bug report template - Followup of https://github.com/rails/rails/pull/20929. [ci skip] --- guides/bug_report_templates/action_controller_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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 -- cgit v1.2.3