Skip to content

Commit

Permalink
[4.x] Add config to enable frontend route binding and support binding…
Browse files Browse the repository at this point in the history
… by field (#8853)

Co-authored-by: Jason Varga <[email protected]>
  • Loading branch information
ryanmitchell and jasonvarga authored Oct 18, 2023
1 parent 99c3f33 commit 497b845
Show file tree
Hide file tree
Showing 4 changed files with 1,304 additions and 46 deletions.
13 changes: 13 additions & 0 deletions config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@

'enabled' => true,

/*
|--------------------------------------------------------------------------
| Enable Route Bindings
|--------------------------------------------------------------------------
|
| Whether route bindings for Statamic repositories (entry, taxonomy,
| collections, etc) are enabled for front end routes. This may be
| useful if you want to make your own custom routes with them.
|
*/

'bindings' => false,

/*
|--------------------------------------------------------------------------
| Action Route Prefix
Expand Down
Loading

0 comments on commit 497b845

Please sign in to comment.