From 070a292c2bacfd8a761d2315dc754141dfec6308 Mon Sep 17 00:00:00 2001 From: Godwin Date: Fri, 12 Aug 2016 23:19:14 -0700 Subject: [PATCH] Moved language_name method to lingua_franca --- app/helpers/application_helper.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4d2f4ad..596a74f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -656,12 +656,6 @@ module ApplicationHelper link_to "#{title}".html_safe, link, :class => classes end - def language_name(locale, original_language = false) - args = {} - args[:locale] = locale if original_language - _("languages.#{locale}", args) - end - def date(date, format = :long) I18n.l(date.is_a?(String) ? Date.parse(date) : date, :format => format) end