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

Support for modules #1

Closed
achtan opened this issue Oct 12, 2014 · 2 comments
Closed

Support for modules #1

achtan opened this issue Oct 12, 2014 · 2 comments
Labels

Comments

@achtan
Copy link

achtan commented Oct 12, 2014

        $router = new RouteList();

        $router[] = $frontRouter = new RouteList('Front');
        $frontRouter[] = new StaticRouter([...]);

        $router[] = $adminRouter = new RouteList('Admin');
        $adminRouter[] = new Route(...);

        return $router;

zle generuje linky

$presenter->link(':Admin:Foo:bar'); // vygeneruje linku na :Front:Foo:bar
@achtan achtan changed the title Prosim implementuj podporu pre Moduli Prosim implementuj podporu pre Moduly Oct 12, 2014
@JanTvrdik JanTvrdik added the bug label Oct 12, 2014
@JanTvrdik JanTvrdik changed the title Prosim implementuj podporu pre Moduly Support for modules Oct 12, 2014
@JanTvrdik
Copy link
Member

Let me know if it works for you now.

@achtan
Copy link
Author

achtan commented Oct 13, 2014

yes its works well, thx for such fast fix

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

No branches or pull requests

2 participants