Class: Maglev::Api::CollectionItemsController
- Inherits:
-
Maglev::ApiController
- Object
- ApplicationController
- Maglev::ApplicationController
- Maglev::ApiController
- Maglev::Api::CollectionItemsController
- Defined in:
- app/controllers/maglev/api/collection_items_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/maglev/api/collection_items_controller.rb', line 6 def index @items = services.fetch_collection_items.call( collection_id: params[:collection_id], keyword: params[:q] ) end |