Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ def tnc_path
document_path(Document.terms_and_conditions || 0, modal: true)
end

def languages_list
I18n.available_locales.each do |locale|
concat content_tag(:li,
link_to(locale_menu_item(locale),
switch_lang_path(locale: locale)),
class: ("disabled" if I18n.locale == locale))
end
end

def show_error_messages!(resource)
return "" if resource.errors.empty?

Expand Down