Method: CustomTable::ApplicationHelper#custom_table_filter
- Defined in:
- app/helpers/custom_table/application_helper.rb
#custom_table_filter(search_model, variant = nil, **params, &block) ⇒ Object
401 402 403 404 405 406 407 408 |
# File 'app/helpers/custom_table/application_helper.rb', line 401 def custom_table_filter search_model, variant=nil, **params, &block params[:search_model] = search_model params[:variant] = variant render "custom_table/filter", params do |f| yield if !block.nil? end end |