Skip to content

Commit

Permalink
Merge pull request #180 from TelosLabs/fix/private-sessions-schedule
Browse files Browse the repository at this point in the history
Fix - Private sessions not showing on My Schedule
  • Loading branch information
LuigiR0jas committed Sep 13, 2024
2 parents a1ea70d + 2b0dfce commit ec2abd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/schedules_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ def show
private

def filter_params
params.permit(:starts_at, :live, :past, :starting_soon)
params.permit(:starts_at, :live, :past, :starting_soon).merge(show_private: user_signed_in?)
end
end

0 comments on commit ec2abd4

Please sign in to comment.