Include URL helpers in TestController in bug report templates
[ci skip] Fixes #12848.
This commit is contained in:
parent
331c59f47c
commit
299fe844dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user