Skip to content

Commit

Permalink
Merge pull request #12851 from RKushnir/master
Browse files Browse the repository at this point in the history
Include URL helpers in TestController in bug report templates [ci skip]
  • Loading branch information
senny committed Nov 11, 2013
2 parents 92f11dd + 299fe84 commit bd004ec
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 bd004ec

Please sign in to comment.