luthier-ci
luthier-ci copied to clipboard
Load resource on routes.php if not exist
Hi guys
I need to have the default behavior of CodeIgniter
which is load resource if not even defined in routes. I already know one of the rules of using this package is that we could not achieve URLs which are not defined in the web.php
. I'm wondering if there's a possibility to load routes from web.php
and if there's no match, instead of throwing 404
read from routes.php
or switch to the default behavior of framework?
You can do that by the _remap.