Skip to content

Commit

Permalink
docs: remove ref to 'makeAbilityFromRules'
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger committed Mar 31, 2023
1 parent b337e90 commit 237a27d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,7 @@ For most cases we want to define rules per user (or per user-role). So we first

```ts
// src/services/authentication/authentication.abilities.ts
import {
Ability,
AbilityBuilder,
createAliasResolver,
makeAbilityFromRules
} from "@casl/ability";
import { Ability, AbilityBuilder, createAliasResolver } from "@casl/ability";

// don't forget this, as `read` is used internally
const resolveAction = createAliasResolver({
Expand Down

0 comments on commit 237a27d

Please sign in to comment.