mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
7 lines
191 B
Ruby
7 lines
191 B
Ruby
module FrontendUrlsHelper
|
|
def frontend_url(path, **query_params)
|
|
url_params = query_params.blank? ? "" : "?#{query_params.to_query}"
|
|
"#{root_url}app/#{path}#{url_params}"
|
|
end
|
|
end
|