Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def set_locale
- I18n.locale = user_signed_in? ? current_user.local.to_sym : :en
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement