Class: Wco::Api::LeadsController
- Inherits:
-
Wco::ApiController
- Object
- Wco::ApiController
- Wco::Api::LeadsController
- Defined in:
- app/controllers/wco/api/leads_controller.rb
Instance Method Summary collapse
Instance Method Details
#index_hash ⇒ Object
4 5 6 7 |
# File 'app/controllers/wco/api/leads_controller.rb', line 4 def index_hash :index, Wco::Lead @leads = Wco::Lead.find( params[:lead_ids].split(',') ) end |