Fix site_locale_default_head and active for current locale
This commit is contained in:
1 parent
51f87e7212
commit
48f8fbde7f
6 files changed
+24
-20
No files matched your search
@@ -1,7 +1,3 @@
|
||||
module Admin::AdImagesHelper
|
||||
|
||||
def active_when_default_locale_eq locale
|
||||
locale.to_sym == I18n.default_locale ? 'active': ''
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user