Is it possible to get different routes / views for the same model? #212
Unanswered
raphael-allard
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Rails application that uses the Passwordless gem to allow our partner stores to log in: several of their employees log in to the same session using the unique email address of the store. It's perfect because it prevents them from logging in from home!
I'm currently redesigning this space, and while I'm working on making it fully functional, I'd like to keep the old one accessible. For the redesign, I've created an engine within my app to separate it from the significant structure of our Webapp (we have several distinct login spaces). The issue is that I'd like to have new login routes along with a view tailored to this new space. Is it possible to set this up?
What surprises me is that I don't have a suffix in front of my current routes:
I hope I'm clear enough! Thanks for all the work, by the way; it's a great gem!
Beta Was this translation helpful? Give feedback.
All reactions