changed #signed_in_with_roles(user) in ability.rb model

This commit is contained in:
raluka 2015-09-01 13:01:57 +02:00
parent df29484317
commit 52a503afd2
4 changed files with 7 additions and 9 deletions

View file

@ -263,10 +263,6 @@ module ApplicationHelper
end
end
def can_manage_comments(conference)
(current_user.has_role? :organizer, conference) || (current_user.has_role? :cfp, conference)
end
def sign_in_path
if CONFIG['authentication']['ichain']['enabled']
new_user_ichain_session_path