Module: Georgia::InternationalizationHelper
- Defined in:
- app/helpers/georgia/internationalization_helper.rb
Instance Method Summary collapse
Instance Method Details
#available_locales ⇒ Object
4 5 6 |
# File 'app/helpers/georgia/internationalization_helper.rb', line 4 def available_locales I18n.available_locales end |
#link_to_locale(html_options = {}) ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/helpers/georgia/internationalization_helper.rb', line 8 def link_to_locale ={} if available_locales.length == 2 link_to_locale_single else link_to_locale_list end end |