Skip to content

Commit

Permalink
Update authorization_context.md
Browse files Browse the repository at this point in the history
  • Loading branch information
killondark authored Apr 2, 2024
1 parent 302d663 commit ca6a0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/authorization_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GuestPolicy < ApplicationPolicy
end

class ProjectPolicy < ApplicationPolicy
# With optional: true, authorization context may not include the `user` key at all
# With optional: true, authorization context may not include the `team` key at all
authorize :team, optional: true
end

Expand Down

0 comments on commit ca6a0b5

Please sign in to comment.