Ubiquo::Filters::LinksOrSelectFilter
(Not documented)
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/filters/category_filter.rb, line 5
5: def configure(set, options = {})
6: defaults = {
7: :collection => categories_for_select(set),
8: :caption => options[:caption] || I18n.t("ubiquo.category_sets.#{set}"),
9: :field => "filter_#{set.to_s.pluralize}",
10: :id_field => :name,
11: :name_field => :name
12: }
13: @options = defaults.merge(options)
14: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.