Skip to content

Commit

Permalink
Restore to previous state
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterfarrell9 committed Aug 16, 2024
1 parent b712851 commit 08ffc49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/abilities/lecture_ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def initialize(user)

# there is a redirect to the subscription page inside the controller
# if the lecture is not a subscribed lecture of the user
can [:show, :search, :become_tutor, :become_editor], Lecture
can :show, Lecture

can :search, Lecture

can [:show_announcements, :organizational, :show_structures,
:search_examples, :show_random_quizzes,
Expand Down

0 comments on commit 08ffc49

Please sign in to comment.