Skip to content

Commit aee37cb

Browse files
committed
Remove dead #languages_list helper
It was introduced in eb78969 and used in the _navbar but it became dead in 0fecd89 when the navbar was refactored.
1 parent 74bde75 commit aee37cb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/helpers/application_helper.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ def tnc_path
3434
document_path(Document.terms_and_conditions || 0, modal: true)
3535
end
3636

37-
def languages_list
38-
I18n.available_locales.each do |locale|
39-
concat content_tag(:li,
40-
link_to(locale_menu_item(locale),
41-
switch_lang_path(locale: locale)),
42-
class: ("disabled" if I18n.locale == locale))
43-
end
44-
end
45-
4637
def show_error_messages!(resource)
4738
return "" if resource.errors.empty?
4839

0 commit comments

Comments
 (0)