Skip to content

Instantly share code, notes, and snippets.

@Heavyblade
Created August 26, 2021 16:40
Show Gist options
  • Save Heavyblade/9b3da78b09f381f44fac5518054b11cd to your computer and use it in GitHub Desktop.
Save Heavyblade/9b3da78b09f381f44fac5518054b11cd to your computer and use it in GitHub Desktop.
def policy(scope)
Pundit.policy(current_user, scope)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment