Skip to content

Commit

Permalink
updated create pages
Browse files Browse the repository at this point in the history
Signed-off-by: bidi <[email protected]>
  • Loading branch information
bidi47 committed Oct 11, 2024
1 parent aee50d7 commit 9ad2188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/book/v1/how-tos/create-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getTemplates(): array

## Accessing the page

The url for the new page in this example is `/page/examplePage`.
The url for the new page in this example is `/page/example-page`.

> Because of the way routing works, you can also use `/page/example-page`.
> Dot '.', dash '-', underscore '_' are filtered from the `action` parameter in the routing `/page[/{action}]` and calls the `examplePageAction` function.
> Because of the way routing works, dot (.), dash (-), underscore (_) are filtered from the `action` parameter in the routing `/page[/{action}]`.
> As a result, the `examplePageAction` function in called.

0 comments on commit 9ad2188

Please sign in to comment.