Skip to content

Domain in the routing debug panel #285

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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