Module: Workarea::I18n::DefaultUrlOptions
- Included in:
- ApplicationController, ApplicationMailer, RedirectNavigableSlugs
- Defined in:
- lib/workarea/i18n.rb
Instance Method Summary collapse
Instance Method Details
#default_url_options(options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/workarea/i18n.rb', line 4 def ( = {}) locale = ::I18n.locale != ::I18n.default_locale ? ::I18n.locale : nil { locale: locale }.merge() end |