Module: Fortitude::Rails::WidgetMethods

Extended by:
ActiveSupport::Concern
Included in:
Widget
Defined in:
lib/fortitude/rails/widget_methods.rb

Instance Method Summary collapse

Instance Method Details

#widget_localeObject


8
9
10
# File 'lib/fortitude/rails/widget_methods.rb', line 8

def widget_locale
  I18n.locale || I18n.default_locale
end