Sha256: 12371261843176e4e5e67d7abaa28bed73d574b59d9b3e1e53642b32e40f1b6d
Contents?: true
Size: 494 Bytes
Versions: 57
Compression:
Stored size: 494 Bytes
Contents
module Comee module Core class SupplierAddressesController < ApplicationController include Common def index super do SupplierAddress.where(supplier_id: params[:id]) end end private def model_params params.require(:payload) .permit(:supplier_id, :address_line1, :street, :city, :state, :country_id, :postal_code, :address_type, :email, :telephone, :default) end end end end
Version data entries
57 entries across 57 versions & 1 rubygems