Using Devise, I created my own controllers to override the default Devise::XxxController. For example:
class Devise::MySessionsController < Devise::SessionsController
...
end
I inserted all the rewrited Devise controllers in a new folder controllers/devise/, and I added the corresponding namespaces in routes.rb
Everything is OK, except flash messages, which tells (for example):
translation missing: en.devise.my_sessions.user.signed_id
Any idea how to get (again) devise messages?
Thanks in advance.
You would need to add the translations to a yml file. The flash messages are looking for them, that particular on would be something like this…
Here is a link to the devise yml file you can copy that.