Class: FilchController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- FilchController
- Defined in:
- app/controllers/filch_controller.rb
Overview
The filch controller.
Instance Method Summary collapse
-
#datalist ⇒ Object
Datalist returns data for the datalist.
Instance Method Details
#datalist ⇒ Object
Datalist returns data for the datalist.
4 5 6 7 8 9 10 11 12 |
# File 'app/controllers/filch_controller.rb', line 4 def datalist model, column, pq = params[:column].split('.') ransack_q = Filch.datalist(model, column, params[pq]) render( partial: 'filch/quick', layout: false, locals: { q: ransack_q } ) end |