Sha256: 40fc965cb6b5d4c92c71371ff14d2a0dd2fe64925d1a92d4f84725d7cba624e7
Contents?: true
Size: 452 Bytes
Versions: 6
Compression:
Stored size: 452 Bytes
Contents
module EnjuPurchaseRequest module Controller private def get_order_list if params[:order_list_id] @order_list = OrderList.find(params[:order_list_id]) authorize @order_list, :show? end end def get_purchase_request if params[:purchase_request_id] @purchase_request = PurchaseRequest.find(params[:purchase_request_id]) authorize @purchase_request, :show? end end end end
Version data entries
6 entries across 6 versions & 1 rubygems