Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Arcanesoft\Auth\Http\Routes\Front; |
||
23 | 24 | public function map(Registrar $router) |
|
24 | { |
||
25 | 24 | parent::map($router); |
|
26 | |||
27 | 24 | $this->group([ |
|
28 | 24 | 'prefix' => 'auth', |
|
29 | 18 | 'as' => 'auth.', |
|
30 | 24 | ], function () { |
|
31 | 24 | $this->get('check', [ |
|
32 | 24 | 'as' => 'check', // auth::api.auth.check |
|
33 | 18 | 'uses' => 'ApiController@check', |
|
34 | 18 | ]); |
|
35 | 24 | }); |
|
36 | 24 | } |
|
37 | } |
||
38 |