luthier-ci icon indicating copy to clipboard operation
luthier-ci copied to clipboard

Load resource on routes.php if not exist

Open afsaneGhafouri opened this issue 6 years ago • 1 comments

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?

afsaneGhafouri avatar Feb 13 '19 19:02 afsaneGhafouri

You can do that by the _remap.

Ihabafia avatar Jul 04 '19 01:07 Ihabafia