Skip to content
Browse files

Merge pull request #12851 from RKushnir/master

Include URL helpers in TestController in bug report templates [ci skip]
  • Loading branch information...
2 parents 92f11dd + 299fe84 commit bd004eccfa1b7e6c8e4f1273da94477d75b9515f @senny senny committed Nov 11, 2013
View
2 guides/bug_report_templates/action_controller_gem.rb
@@ -19,6 +19,8 @@ class TestApp < Rails::Application
end
class TestController < ActionController::Base
+ include Rails.application.routes.url_helpers
+
def index
render text: 'Home'
end
View
2 guides/bug_report_templates/action_controller_master.rb
@@ -28,6 +28,8 @@ class TestApp < Rails::Application
end
class TestController < ActionController::Base
+ include Rails.application.routes.url_helpers
+
def index
render text: 'Home'
end

0 comments on commit bd004ec

Please sign in to comment.
Something went wrong with that request. Please try again.