Sha256: d09625a5e86c6d1aef822e086f337ab5e637699f15f91aa535b9ddda92f8b5e8

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

module Typus

  module Filters

    def add_predefined_filter(filter, action, scope)
      @predefined_filters ||= [["All", "index", "unscoped"]]
      @predefined_filters << [filter, action, scope]
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.0.6 lib/typus/filters.rb
typus-3.0.5 lib/typus/filters.rb
typus-3.0.4 lib/typus/filters.rb