set_locale was called after check_for_terms_acceptance! before action.
So the locale was never saved until terms acceptance, causing some flash messages in wrong locale (ex: timeout session).
For more clarity, I also renamed append_before_action into before_action (because it is just an alias).
set_locale
was called aftercheck_for_terms_acceptance!
before action. So the locale was never saved until terms acceptance, causing some flash messages in wrong locale (ex: timeout session).For more clarity, I also renamed
append_before_action
intobefore_action
(because it is just an alias).I think it solves #694