Permalink
Browse files

Include URL helpers in TestController in bug report templates

[ci skip]

Fixes #12848.
  • Loading branch information...
Roman Kushnir authored and RKushnir committed Nov 11, 2013
1 parent 331c59f commit 299fe844dd38026ec194170c4e9e848fd0c1b0db
@@ -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
@@ -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 299fe84

Please sign in to comment.