mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +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
15 lines
No EOL
817 B
Ruby
15 lines
No EOL
817 B
Ruby
class Admin::RegistrationsController < ApplicationController
|
|
before_filter :verify_organizer
|
|
|
|
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 |