Fix module routing in RouterFactory#3
Fix module routing in RouterFactory#3pilarik31 wants to merge 1 commit intonette-examples:masterfrom pilarik31:fix/module-routing
Conversation
|
What exactly was broken? |
|
Nette is looking for Admin presenter at With Also, without the module in the mask, the index is trying to do some weird URL. |
|
I see. And the URL |
|
There aren't any specific URLs in the repo's readme, so I just looked at the old commit, before implementation of modules, and it worked like:
And with the modules stucture, that broke. That |
|
Yes, url has changed but I still don't understand why it is broken… This seems more like feature request. |
|
In the current state, I can't get it to work at all. Even if I manually try to access for example And |
|
I understand now. It looks like the built-in PHP server has a "feature" that when there is a dot in the URL, it doesn't work properly https://bugs.php.net/bug.php?id=61286 |
Hi,
looks like currently, module routing is broken.
Fixed that by adding
<module>to the mask.