Skip to content

Commit

Permalink
Allow to have slugs with multiple parts.
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Dec 23, 2015
1 parent b9b1edc commit 25ec5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Http/frontendRoutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

/** @var Router $router */
if (! App::runningInConsole()) {
$router->get('{uri}', ['uses' => 'PublicController@uri', 'as' => 'page']);
$router->get('/', ['uses' => 'PublicController@homepage', 'as' => 'homepage']);
$router->any('{uri}', ['uses' => 'PublicController@uri', 'as' => 'page'])->where('uri', '.*');
}

0 comments on commit 25ec5f9

Please sign in to comment.