Index: app_development/branches/dev/app/controllers/participants_controller.rb =================================================================== diff -u -r634 -r877 --- app_development/branches/dev/app/controllers/participants_controller.rb (.../participants_controller.rb) (revision 634) +++ app_development/branches/dev/app/controllers/participants_controller.rb (.../participants_controller.rb) (revision 877) @@ -135,6 +135,14 @@ for attendee in session_offer.attendees attendee.destroy end + + #REMOVE PARTICIPANT ATTENDEES IF INVITATION DECLINED + if @participant.event_accepted == false + for attendee in @participant.attendees + attendee.destroy + end + end + for vehicle in session_offer.vehicles vehicle.destroy end