1
0
Fork 0
mirror of https://github.com/archtechx/laravel-pages.git synced 2025-12-12 18:04:02 +00:00
This commit is contained in:
Samuel Štancl 2021-08-08 19:28:34 +02:00 committed by GitHub
parent 2f6039a81b
commit f5066f792f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ The layout is used *by* the vendor (package-provided) Markdown view. You'll like
If you'd like to change the file that renders the Markdown itself, create `resources/views/pages/_markdown.blade.php` (the `_` prefix is important as it prevents direct visits) and change the `pages.views.markdown` config key to `pages._markdown`. If you'd like to change the file that renders the Markdown itself, create `resources/views/pages/_markdown.blade.php` (the `_` prefix is important as it prevents direct visits) and change the `pages.views.markdown` config key to `pages._markdown`.
And if you'd like to customize the routing logic more ethan the config file allows you, simply register the route yourself (instead of calling `Page::routes()`): And if you'd like to customize the routing logic more than the config file allows you, simply register the route yourself (instead of calling `Page::routes()`):
```php ```php
Route::get('/{page}', ArchTech\Pages\PageController::class); Route::get('/{page}', ArchTech\Pages\PageController::class);