Skip to content

Commit

Permalink
Use new styled braced placeholders in route templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad authored Nov 8, 2019
1 parent 99d5fca commit 6507034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function (RouteBuilder $routes) {
$routes->connect('/', ['action' => 'index']);
$routes->connect('/preview', ['action' => 'email']);
$routes->connect('/preview/*', ['action' => 'email']);
$routes->connect('/sent/:panel/:id', ['action' => 'sent'], ['pass' => ['panel', 'id']]);
$routes->connect('/sent/{panel}/{id}', ['action' => 'sent'], ['pass' => ['panel', 'id']]);
}
);
});

0 comments on commit 6507034

Please sign in to comment.