We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to have pretty URL for recoverable and confirmable strategies routes. As is: "/users/verification?confirmation_token=MyHash"
Nice to have: "/users/verification/MyHash"
so that confirmation_token is passed in route as param: "/users/verification/:confirmation_token {:controller=>"users", :action=>"index"}"
Something like: "map.connect 'users/verification/:confirmation_token', :controller => 'users'"
I don't know how to obtain this, or even if it is possible. What do you think?
The text was updated successfully, but these errors were encountered:
You should be able to obtain that declaring a named route after devise_for:
map.user_confirmation '/users/confirmation/:confirmation_token', :controller => 'confirmations', :action => 'show'
Sorry, something went wrong.
Sorry, Github sent the message without finishing. I just want to add that we have no plans in changing that in Devise. :)
No branches or pull requests
It would be nice to have pretty URL for recoverable and confirmable strategies routes.
As is:
"/users/verification?confirmation_token=MyHash"
Nice to have:
"/users/verification/MyHash"
so that confirmation_token is passed in route as param:
"/users/verification/:confirmation_token {:controller=>"users", :action=>"index"}"
Something like:
"map.connect 'users/verification/:confirmation_token', :controller => 'users'"
I don't know how to obtain this, or even if it is possible.
What do you think?
The text was updated successfully, but these errors were encountered: