1
0
mirror of https://github.com/flarum/core.git synced 2025-07-27 11:40:24 +02:00

Get admin area working again

This commit is contained in:
Toby Zerner
2015-07-29 20:58:22 +09:30
parent d8d9cac7c3
commit e863bd53d3
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);