Skip to content

Commit

Permalink
Give the page uri a name to link to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jun 5, 2015
1 parent a23caf1 commit 0a096ab
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}', 'PublicController@uri');
$router->get('{uri}', ['uses' => 'PublicController@uri', 'as' => 'page']);
$router->get('/', ['uses' => 'PublicController@homepage', 'as' => 'homepage']);
}

0 comments on commit 0a096ab

Please sign in to comment.