Sha256: d0e84a0f6a67456b11f00cdbbd7c476523402309a23c33d9d78607c8cda28b5d
Contents?: true
Size: 412 Bytes
Versions: 98
Compression:
Stored size: 412 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).order(created_at: :desc) end private def load_order @order = Order.find_by!(number: params[:order_id]) authorize! action, @order end end end end
Version data entries
98 entries across 98 versions & 1 rubygems