I have set default_url_option for I18n in the ApplicationController, which works well for all controllers except for Devise. I lost the :locale option after redirect using authenticate_user! method from Devise.
How to enable this for devise?
Thank you