Commit 597feed4 authored by Taylor Otwell's avatar Taylor Otwell

fix bug with root routing.

parent 89ea17d9
......@@ -318,7 +318,7 @@ class Router {
// to point the pattern to the controller's index method.
$pattern = trim($root.'/'.$home, '/') ?: '/';
$attributes = array('uses' => "{$identifier}@(:1)", 'defaults' => 'index');
$attributes = array('uses' => "{$identifier}@index");
static::register('*', $pattern, $attributes);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment