You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have part of your application that need to be under a subdomain, there's currently no way to use link() to go to the action with that subdomain.
Or alternatively, we could make actions with subdomains auto redirect?
# something like this?
require_subdomain "admin", auto_redirect:true# this would show "/dashboard", but then auto redirect to admin.whatever.site/dashboard
link to:Admin::Dashboard
Though.... thinking about it, that second idea might not be good because then EVERY link would always 302 🤔
I'm mainly looking for a way where I can say some links go to subdomain pages, and some don't.
The text was updated successfully, but these errors were encountered:
If you have part of your application that need to be under a subdomain, there's currently no way to use
link()
to go to the action with that subdomain.We could do this:
https://github.com/luckyframework/lucky/blob/main/src/lucky/route_helper.cr
lucky/src/lucky/routable.cr
Line 317 in 8d0681a
Or alternatively, we could make actions with subdomains auto redirect?
Though.... thinking about it, that second idea might not be good because then EVERY link would always 302 🤔
I'm mainly looking for a way where I can say some links go to subdomain pages, and some don't.
The text was updated successfully, but these errors were encountered: