Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load resource on routes.php if not exist #40

Open
afsaneGhafouri opened this issue Feb 13, 2019 · 1 comment
Open

Load resource on routes.php if not exist #40

afsaneGhafouri opened this issue Feb 13, 2019 · 1 comment

Comments

@afsaneGhafouri
Copy link

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?

@Ihabafia
Copy link

Ihabafia commented Jul 4, 2019

You can do that by the _remap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants