Venue has show action, not index. Make the ability to schedule an Event more clear.
This commit is contained in:
parent
24f0625be1
commit
8ffa8b1e86
4 changed files with 11 additions and 14 deletions
|
|
@ -154,7 +154,7 @@ class Ability
|
|||
can :manage, DifficultyLevel, conference_id: conf_ids_for_cfp
|
||||
can :manage, EmailSettings, conference_id: conf_ids_for_cfp
|
||||
can :manage, Room, conference_id: conf_ids_for_cfp
|
||||
can :index, Venue, conference_id: conf_ids_for_cfp
|
||||
can :show, Venue, conference_id: conf_ids_for_cfp
|
||||
can :manage, CallForPaper, conference_id: conf_ids_for_cfp
|
||||
can :manage, Commercial, commercialable_type: 'Event',
|
||||
commercialable_id: Event.where(conference_id: conf_ids_for_cfp).pluck(:id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue