Put back I18n for file_upload

This commit is contained in:
Christophe Vilayphiou committed 2012-05-17 19:40:30 +08:00
1 parent 606050627e
commit 2f7d561310
3 files changed
+29 -4

No files matched your search

+11
View File
@@ -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