Module: Serpentine::ControllerHelper::ClassMethods
- Defined in:
- lib/serpentine.rb
Instance Method Summary collapse
Instance Method Details
#filter_collection(*args, &block) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/serpentine.rb', line 13 def filter_collection(*args, &block) = args. args.each do |arg| self.collection_filters += [CollectionFilterCallback.new(arg, , block)] end end |