Include URL helpers in TestController in bug report templates

[ci skip]

Fixes #12848.
This commit is contained in:
Roman Kushnir 2013-11-11 16:46:58 +02:00 committed by Roman
parent 331c59f47c
commit 299fe844dd
2 changed files with 4 additions and 0 deletions

@ -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