<% set_default_index do objects @ad_images quick_edit_link type: 'edit', link: 'edit_admin_ad_banner_ad_image_path' quick_edit_link type: 'detail' quick_edit_link type: 'delete', link: 'admin_ad_banner_ad_image_path' field db_field: 'file', translation: 'image' field db_field: 'post_date', translation: 'start_date', hide: 'phone', sort: 'start_date' field db_field: 'unpost_date', translation: 'end_date', hide: 'phone', sort: 'end_date' field db_field: 'unpost_date', translation: 'end_date', hide: 'phone', sort: 'end_date' field db_field: 'context', translation: 'content', hide: 'phone' field db_field: 'out_link', translation: 'link', hide: 'phone' footer link: 'new_admin_ad_banner_ad_image_path' end %> <%= render 'admin/default_index/index' %>