Module: Admin::ScriptsHelper
- Defined in:
- app/helpers/admin/scripts_helper.rb
Instance Method Summary collapse
Instance Method Details
#javascript_filter_options_for_select(selected = nil) ⇒ Object
2 3 4 |
# File 'app/helpers/admin/scripts_helper.rb', line 2 def (selected=nil) ([[t('select.none'), '']] + SheetsExtension.javascript_filters.map { |s| s.filter_name }.sort, selected) end |