This is necessary because the manage block does not cover it.
event.users.include?(user) is always false for :new and :create because
the event_users are not saved yet.
Introduced in
|
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| users | ||
| application_controller.rb | ||
| commercials_controller.rb | ||
| conference_controller.rb | ||
| conference_registrations_controller.rb | ||
| confirmations_controller.rb | ||
| proposal_controller.rb | ||
| registrations_controller.rb | ||
| subscriptions_controller.rb | ||
| ticket_purchases_controller.rb | ||
| tickets_controller.rb | ||
| users_controller.rb | ||