Sha256: 77f85e5f0573964dab8116c61adaa5975bb872d8947764bffc7c2ab4312e7ce8
Contents?: true
Size: 386 Bytes
Versions: 36
Compression:
Stored size: 386 Bytes
Contents
module Spree module Admin class StateChangesController < Spree::Admin::BaseController before_action :load_order, only: [:index] def index @state_changes = @order.state_changes.includes(:user) end private def load_order @order = Order.find_by_number!(params[:order_id]) authorize! action, @order end end end end
Version data entries
36 entries across 36 versions & 1 rubygems