I'm new to Bolt so this may be an easy issue, but I can't find anything on the discussion board for my problem.
I created a route to have all page content types to use /{slug} instead of /page/{slug}
routing.yml entry:
# Place your own routes here...
pagebinding:
path: /{slug}
defaults: { _controller: 'Bolt\Controllers\Frontend::record', 'contenttypeslug': 'page' }
contenttype: pages
All individual pages work fine, however, when I use the listing url /pages I get a exception error. Here's some of the error message text:
Symfony \ Component \ HttpKernel \ Exception \ HttpException
Page page/pages not found.
I guess I'm missing something else to change. Any feedback or help would be appreciated.