had to invent main_app for url helpers to work when engine renders
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
module ApplicationHelper
|
||||
def main_app
|
||||
Rails.application.routes.url_helpers
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user