Skip to content

Commit 126df09

Browse files
committed
Fix route handling
1 parent 7cf7a5a commit 126df09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/Http/Routes/BaseRoutes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ public function map(Router $router) {
5151

5252
// Account Routes
5353
$router->group([
54-
'profix' => 'account',
54+
'prefix' => 'account',
5555
'middleware' => [
5656
'auth',
5757
'csrf'
5858
]
5959
], function () use ($router) {
60-
$router->get('account', [
60+
$router->get('/', [
6161
'as' => 'account',
6262
'uses' => 'Base\AccountController@index'
6363
]);
64-
$router->post('/account/password', [
64+
$router->post('/password', [
6565
'uses' => 'Base\AccountController@password'
6666
]);
67-
$router->post('/account/email', [
67+
$router->post('/email', [
6868
'uses' => 'Base\AccountController@email'
6969
]);
7070
});

0 commit comments

Comments
 (0)