Hi, i’ve mounted my engine on a subdomain root, ha...
# support
w
Hi, i’ve mounted my engine on a subdomain root, having another engine in my app and trying to share authentication, i would need to route the devise login path to my main app root. it’s possible?
Copy code
Rails.application.routes.draw do
   constraints :subdomain => '' do
     get '/login', to: redirect(subdomain: 'store', path: '/login')
   end
...
this seem to work…
w
thanks i will look into.
👍 1