Class: YummyGuide::Administrate::Filters::Custom

Inherits:
Base
  • Object
show all
Defined in:
lib/yummy_guide/administrate/filters.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize, #label_text, #visible?, #with_name, with_options

Constructor Details

This class inherits a constructor from YummyGuide::Administrate::Filters::Base

Instance Method Details

#row(view_context, form, scope, current_values, locals) ⇒ Object



276
277
278
279
280
281
282
283
284
285
# File 'lib/yummy_guide/administrate/filters.rb', line 276

def row(view_context, form, scope, current_values, locals)
  view_context.render(
    options.fetch(:partial),
    form: form,
    form_scope: scope,
    field: self,
    current_values: current_values,
    filter_locals: locals
  )
end