Module: RouteTranslator::Controller
- Defined in:
- lib/route_translator.rb
Overview
Attributes
Instance Method Summary collapse
Instance Method Details
#set_locale_from_url ⇒ Object
34 35 36 |
# File 'lib/route_translator.rb', line 34 def set_locale_from_url I18n.locale = params[RouteTranslator::LOCALE_PARAM_KEY] end |