Sha256: e24c60b036fc2373f34c743920eb94837bfbda2350d77a503116e7c61747954c

Contents?: true

Size: 374 Bytes

Versions: 65

Compression:

Stored size: 374 Bytes

Contents

module Comee
  module Core
    class StoreItemsController < ApplicationController
      include Common

      def filter
        data = StoreItem.ransack(params[:q]).result
        render_content(data)
      end

      private

      def model_params
        params.require(:payload).permit(:quantity, :reorder_threshold, :product_id, :store_id)
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
comee_core-0.3.62 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.61 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.60 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.59 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.58 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.57 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.56 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.55 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.54 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.53 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.51 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.50 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.49 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.48 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.47 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.46 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.45 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.44 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.43 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.42 app/controllers/comee/core/store_items_controller.rb