Skip to content

Commit

Permalink
Include URL helpers in TestController in bug report templates
Browse files Browse the repository at this point in the history
[ci skip]

Fixes #12848.
  • Loading branch information
Roman Kushnir authored and RKushnir committed Nov 11, 2013
1 parent 331c59f commit 299fe84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/bug_report_templates/action_controller_gem.rb
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions guides/bug_report_templates/action_controller_master.rb
Expand Up @@ -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
Expand Down

0 comments on commit 299fe84

Please sign in to comment.