Sha256: 4b560edcdd4441b771e3b0d4d557c9ab61ea38e0cff45ee8f4c019020d01bf6d

Contents?: true

Size: 194 Bytes

Versions: 150

Compression:

Stored size: 194 Bytes

Contents

class <%= class_name.camelize %> < Avo::Filters::SelectFilter
  self.name = '<%= name.underscore.humanize %>'

  def apply(request, query, value)
    query
  end

  def options
    {}
  end
end

Version data entries

150 entries across 150 versions & 1 rubygems

Version Path
avo-0.5.0.beta14 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta13 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta12 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta11 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta10 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta9 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta8 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta7 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta6 lib/generators/avo/templates/filters/select_filter.tt
avo-0.5.0.beta5 lib/generators/avo/templates/filters/select_filter.tt