Displaying 2 results from an estimated 2 matches for "confirmation_url".
2005 Mar 06
2
Using url_for in ActionMailer templates
Hi All
I am just adding some basic e-mail notices to my Rails app using
ActionMailer, and have one small issue. I want to provide a
confirmation URL to users who sign up for an account. I can obviously
just hardcode the URL and append the confirmation code to it, but I''d
much rather be able to use something like:
url_for(:controller => ''authentication'', :action
2012 Dec 12
1
Devise route for confirmation error with :locale
...confirmation_token=>"W65sGSMU9TNQwJDRzNzV"}
appears.
There is a similar issue such as
https://github.com/plataformatec/devise/issues/815
But I don''t quite understand what to do as explained in this URL.
"Yes, you need to copy the views to your application and change the
confirmation_url (and all other calls) to pass the locale as parameter.
Another option is to configure default_url_options to include :locale.
There is probably something in the wiki, if not, check Rails
documentation."
Could anyone explain this to me more specifically?
soichi
--
Posted via http://www.ruby...