This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
module Admin::AssetsHelper
|
|
|
|
def show_all_fields(asset, field)
|
|
a = []
|
|
@site_in_use_locales.each do |locale|
|
|
a << asset.send("#{field}_translations")[locale] rescue nil
|
|
end
|
|
a.join(' - ')
|
|
end
|
|
|
|
end |