Sha256: a0676d1e7e368c16bd768f05e42b786f714d5946887461c1af458cf61c817d6f
Contents?: true
Size: 500 Bytes
Versions: 14
Compression:
Stored size: 500 Bytes
Contents
module Comee module Core class ProductLookupsController < ApplicationController include Common def index super do ProductLookup.includes(:product).all end end def filter data = ProductLookup.ransack(params[:q]).result render_content(data) end private def model_params params.required(:payload).permit(:code, :itemable_id, :itemable_type, :item_description, :product_id) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems