mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #24 from ancorgs/fix_f53af55a
Fixing a bug introduced in f53af55a74
This commit is contained in:
commit
79b44f4eb1
2 changed files with 3 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ class Admin::RegistrationsController < ApplicationController
|
|||
people.email AS email")
|
||||
|
||||
@attended = @conference.registrations.where("attended = ?", true)
|
||||
@headers = %w[attended name email social_events attending_with_partner need_access other_needs arrival departure]
|
||||
@headers = %w[attended name email attending_social_events attending_with_partner need_access other_needs arrival departure]
|
||||
end
|
||||
|
||||
def change_field
|
||||
|
|
@ -70,4 +70,4 @@ class Admin::RegistrationsController < ApplicationController
|
|||
redirect_to(admin_conference_registrations_path(@conference.short_title), :alert => 'You must be an admin to delete a registration.')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ class Registration < ActiveRecord::Base
|
|||
accepts_nested_attributes_for :social_events
|
||||
|
||||
alias_attribute :with_partner, :attending_with_partner
|
||||
alias_attribute :social_events, :attending_social_events
|
||||
alias_attribute :need_access, :handicapped_access_required
|
||||
alias_attribute :other_needs, :other_special_needs
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue