Skip to content

Commit 8d633a1

Browse files
authored
Merge pull request #130 from mattstein/patch-1
Fix typo
2 parents 04c18cf + 6e06187 commit 8d633a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fields:
4242
4343
Janitor will automatically fill in the current model.
4444
45-
- The `--model` argument will have the UUID or ID of the current model. You can use `janitor()->model($cli->arg('model))` to get the object.
45+
- The `--model` argument will have the UUID or ID of the current model. You can use `janitor()->model($cli->arg('model'))` to get the object.
4646
- But if for example you press the panel button on a page you will have `--page` argument set to the UUID or ID of that page. Use `$cli->kirby()->page($cli->arg('page'))` to get the object.
4747
- If you call it on a file view then `--file` arg will be set. Use `$cli->kirby()->file($cli->arg('file'))` to get the object.
4848
- On a panel user view... `--user`. Use `$cli->kirby()->user($cli->arg('user'))` to get the object.

0 commit comments

Comments
 (0)