8000 Domain in the routing debug panel · Issue #285 · nette/application · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Domain in the routing debug panel #285
Closed
@elcheco

Description

@elcheco

Routing now supports Module and Domain specification:

$router = (new RouteList)
	->withDomain('admin.example.com')
		->withModule('Admin')
			->addRoute(...)
			->addRoute(...)
		->end()
		->withModule('Images')
			->addRoute(...)
		->end()
	->end()
	->withDomain('example.com')
		->withPath('export')
			->addRoute(...)
			...

Unluckily the domain is not visible anywhere and not even in the "routing panel" in the debug bar.
RoutinPanel

Maybe it does not need its own column but could be in the "defaults" column only when the domain is set...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0