Module: LanguagesHelper

Defined in:
app/helpers/languages_helper.rb

Instance Method Summary collapse

Instance Method Details

There is no path, we fake it.



9
10
11
# File 'app/helpers/languages_helper.rb', line 9

def language_link(language)
  language.english_name
end

#language_tag(language) ⇒ Object



3
4
5
6
# File 'app/helpers/languages_helper.rb', line 3

def language_tag(language)
  return nil if language.nil?
  language.english_name
end