|
@@ -40,7 +40,7 @@ class ActivitiesController < ApplicationController
|
40
|
40
|
|
41
|
41
|
# GET /activities/1/edit
|
42
|
42
|
def edit
|
43
|
|
- @non_organizers = @activity.participants.where.not(is_organizer: true)
|
|
43
|
+ @non_organizers = @activity.participants.where(is_organizer: [true, nil])
|
44
|
44
|
@organizers = @activity.organizers
|
45
|
45
|
|
46
|
46
|
@non_organizers_options = @non_organizers.map{|p| [p.person.full_name, p.id] }
|