Allow users who are not signed-in to view vertical_schedule endpoint
This commit is contained in:
parent
dd6a2600e7
commit
a81519ce68
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class Ability
|
|||
event.state == 'confirmed'
|
||||
end
|
||||
|
||||
can [:show, :events, :happening_now, :app], Schedule do |schedule|
|
||||
can [:show, :events, :happening_now, :app, :vertical_schedule], Schedule do |schedule|
|
||||
schedule.program.schedule_public
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue