app/controllers/maglev/api/collection_items_controller.rb in maglevcms-1.1.3 vs app/controllers/maglev/api/collection_items_controller.rb in maglevcms-1.1.4
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Maglev
- module API
- class CollectionItemsController < ::Maglev::APIController
+ module Api
+ class CollectionItemsController < ::Maglev::ApiController
def index
@items = services.fetch_collection_items.call(
collection_id: params[:collection_id],
keyword: params[:q]
)