diff --git a/app/views/admin/registrations/index.html.haml b/app/views/admin/registrations/index.html.haml index 73003021..d3ac590b 100644 --- a/app/views/admin/registrations/index.html.haml +++ b/app/views/admin/registrations/index.html.haml @@ -28,10 +28,9 @@ = registration.id %td = registration.name - - @conference.roles.each do |role| - - role.users.each do |user| - - if user == registration.user - %span.label.label-info= role.name.titleize + - registration.user.roles.each do |role| + - if role.resource == @conference + %span.label.label-info= role.name.titleize %td = registration.email %td