had to invent main_app for url helpers to work when engine renders

This commit is contained in:
2022-12-21 00:34:11 +02:00
parent 6a2378b8d7
commit 0398a20861
5 changed files with 14 additions and 9 deletions

View File

@ -1,2 +1,5 @@
module ApplicationHelper
def main_app
Rails.application.routes.url_helpers
end
end