osem-fcy/app/controllers/admin/people_controller.rb
Henne Vogelsang 73013bd3e6 * Add ID and track to the event overview
* Get rid of the timezones in the schedule, need to deal with that on output
* Skip auth token verfiy on schedule updates
* Make it possible to withdraw confirmed submissions
* Show if people are not registerd
2013-06-14 13:17:40 +02:00

34 lines
503 B
Ruby

class Admin::PeopleController < ApplicationController
before_filter :verify_organizer
layout "admin"
def index
@people = Person.all
mails = []
@people.each do |p|
if p.registrations.count < 1 and p.confirmed?
mails << p.email
end
end
respond_to do |format|
format.html
format.text { render :text => mails }
end
end
def create
end
def show
@person = Person.find(params[:id])
end
def update
end
def delete
end
end