Sha256: 2f76852729495770ff38efd27ada283227a6bc241a690743f35293a7ed6c1eca
Contents?: true
Size: 396 Bytes
Versions: 38
Compression:
Stored size: 396 Bytes
Contents
module Comee module Core class PurchaseOrdersController < ApplicationController include Common def filter data = Comee::Core::PurchaseOrder.ransack(params[:q]).result render_content(data) end private def model_params params.required(:payload).permit(:supplier_id, :order_date, :status, :delivery_address) end end end end
Version data entries
38 entries across 38 versions & 1 rubygems