diff --git a/app/helpers/admin/volunteers_helper.rb b/app/helpers/admin/volunteers_helper.rb index 79c94126..0f6fa305 100644 --- a/app/helpers/admin/volunteers_helper.rb +++ b/app/helpers/admin/volunteers_helper.rb @@ -1,11 +1,7 @@ module Admin module VolunteersHelper def can_manage_volunteers?(conference) - if (current_user.has_role? :organizer, conference) || (current_user.has_role? :volunteers_coordinator, conference) - true - else - false - end + current_user.has_role?(:organizer, conference) || current_user.has_role?(:volunteers_coordinator, conference) end end end