mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
No EOL
834 B
Ruby
16 lines
No EOL
834 B
Ruby
class Admin::RegistrationsController < ApplicationController
|
|
before_filter :verify_organizer
|
|
layout "admin"
|
|
|
|
def show
|
|
session[:return_to] ||= request.referer
|
|
@pdf_filename = "#{@conference.title}.pdf"
|
|
@registrations = @conference.registrations.all(:joins => :person,
|
|
:order => "people.last_name ASC",
|
|
:select => "registrations.*,
|
|
people.last_name AS last_name,
|
|
people.first_name AS first_name,
|
|
people.public_name AS public_name,
|
|
people.email AS email")
|
|
end
|
|
end |