orbit-basic/app/helpers/admin/ad_images_helper.rb

8 lines
140 B
Ruby
Raw Normal View History

2012-04-01 15:39:49 +00:00
module Admin::AdImagesHelper
def active_when_default_locale_eq locale
locale.to_sym == I18n.default_locale ? 'active': ''
end
end