🚨Fix Rubocop lint errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module FrontendUrlsHelper
|
||||
def frontend_url(path, **query_params)
|
||||
url_params = query_params.blank? ? "" : "?#{query_params.to_query}"
|
||||
url_params = query_params.blank? ? '' : "?#{query_params.to_query}"
|
||||
"#{root_url}app/#{path}#{url_params}"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user