Put back I18n for file_upload
This commit is contained in:
1 parent
606050627e
commit
2f7d561310
3 files changed
+29
-4
No files matched your search
@@ -0,0 +1,11 @@
|
||||
module Admin::AssetHelper
|
||||
|
||||
def show_all_fields(asset, field)
|
||||
a = []
|
||||
@site_valid_locales.each do |locale|
|
||||
a << asset.send(field)[locale] rescue nil
|
||||
end
|
||||
a.join(' - ')
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user