Rails 3.1.3

I have setup devise and i18n .  In routes.rb

    scope "/:locale" do
        devise_for :users, :controllers => { :registrations =>
'registrations' }
    ...
    end

But in the process of confirmation,

No route matches {:action=>"create",
:controller=>"devise/confirmations",
: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-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to