mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 12:14:03 +00:00
Get rid of the admin layout Get rid of the navbar custom style, use bootstrap-sass variables instead Get rid of all the scaffold files
33 lines
486 B
Ruby
33 lines
486 B
Ruby
class Admin::PeopleController < ApplicationController
|
|
before_filter :verify_organizer
|
|
|
|
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
|