Skip to content

Commit

Permalink
Merge pull request #410 from projectwork1947/patch-1
Browse files Browse the repository at this point in the history
Update first-steps.md
  • Loading branch information
maxxer committed May 24, 2021
2 parents 737d6c1 + 4393845 commit 41dc467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/helpful-guides/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Put this in your migration:
$auth = Yii::$app->authManager;
// create a role named "administrator"
$administratorRole = $auth->createRole('administrator');
$administratorRole = $auth->createRole('admin');
$administratorRole->description = 'Administrator';
$auth->add($administratorRole);

Expand Down

0 comments on commit 41dc467

Please sign in to comment.