- Member | 1
I've created a module on my App like this:
app/ LoggedAreaModule/ presenters/ LoggedAreaPresenter.php ProfilePresenter.php
And i need to create a more logical routes to this module, like:
n:url="LoggedArea:Profile:update" to be a
But the Nette Route aways use another way to create the urls, something like this:
This URL is not a best way to make my App, because this point does not make much sense.
Any one have this problem too and can give me a way to solve this URL pattern?
Last edited by joao_neto (2013-12-11 18:24)
- Member | 848
Have you tried the route mask you posted
<module>/<presenter>/<action>)? Also, routes are
checked in the order you write them in the code and the first one that matches
is used. So this one with module should be placed before more generic ones like