1
0
mirror of https://github.com/flarum/core.git synced 2025-07-26 11:10:41 +02:00

Get admin area working again

This commit is contained in:
Toby Zerner
2015-07-29 20:58:22 +09:30
parent 51e72336ef
commit f3ef5a123c
35 changed files with 432 additions and 419 deletions

View File

@@ -41,7 +41,7 @@ class RouterMiddleware
public function __invoke(Request $request, Response $response, callable $out = null)
{
$method = $request->getMethod();
$uri = $request->getUri()->getPath();
$uri = $request->getUri()->getPath() ?: '/';
$routeInfo = $this->getDispatcher()->dispatch($method, $uri);