Sha256: f36e7df3ebb0d279b18607d46943f6cadbda550dbe386c65b9e9d8bfc27e86b2
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
require_dependency "shopping_cart/application_controller" module ShoppingCart class OrdersController < ApplicationController before_action :authenticate_user! load_and_authorize_resource def index @orders = OrdersFilter.new(orders: current_user.orders.placed, params: params).call.decorate end def show; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loker-shopping-cart-0.1.3 | app/controllers/shopping_cart/orders_controller.rb |