Class: Spree::Events::StateChangesController
- Inherits:
-
BaseController
- Object
- Admin::ResourceController
- BaseController
- Spree::Events::StateChangesController
- Defined in:
- app/controllers/spree/events/state_changes_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
#current_event, #default_url_options, #events, #required_user_event!
Methods included from SpreeCmCommissioner::Events::RoleAuthorization
#authorize?, #authorize_admin, #authorize_role!, #redirect_unauthorized_access, #resource_not_found
Instance Method Details
#index ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/spree/events/state_changes_controller.rb', line 4 def index @guest = SpreeCmCommissioner::Guest.find(params[:guest_id]) @event = @guest.event @state_changes = @guest.state_changes.includes(:user) end |