Fix site_locale_default_head and active for current locale

This commit is contained in:
Christophe Vilayphiou committed 2012-05-07 00:53:52 +08:00
1 parent 51f87e7212
commit 48f8fbde7f
6 files changed
+24 -20

No files matched your search

-4
View File
@@ -1,7 +1,3 @@
module Admin::AdImagesHelper
def active_when_default_locale_eq locale
locale.to_sym == I18n.default_locale ? 'active': ''
end
end