Sha256: 64d1b2199fddb596ce2f5e34f3e8dfa382322f3c29910b52bee7643a73739484
Contents?: true
Size: 248 Bytes
Versions: 1
Compression:
Stored size: 248 Bytes
Contents
class Sprangular::OrdersController < Sprangular::BaseController before_filter :check_authorization def show authorize! :show, @user @order = Spree::Order.where(number: params[:id]).first! render 'spree/api/orders/show' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | app/controllers/sprangular/orders_controller.rb |