Skip to content

Instantly share code, notes, and snippets.

View hungmi's full-sized avatar
🏠
Working from home

Hungmi hungmi

🏠
Working from home
View GitHub Profile
module WebI18nLocale
extend ActiveSupport::Concern
included do
prepend_before_action :digest_locale_params
before_action :set_locale
helper_method :set_locale_path
end
private