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.21 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.20 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.19 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.18 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.17 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.16 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.15 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.14 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.13 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.12 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.11 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.10 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.9 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.8 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.7 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.6 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.5 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.4 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.3 app/controllers/comee/core/store_items_controller.rb
comee_core-0.3.2 app/controllers/comee/core/store_items_controller.rb