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



309
310
311
312
313
314
315
316
317
318
# File 'lib/yummy_guide/administrate/filters.rb', line 309

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