mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
* 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
34 lines
503 B
Ruby
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
|