Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php namespace Arcanesoft\Tracker\Http\Routes\Admin; |
||
23 | 4 | public function map(Registrar $router) |
|
24 | { |
||
25 | $this->group(['prefix' => 'stats', 'as' => 'stats.'], function () { |
||
26 | 4 | $this->get('/', 'DashboardController@index')->name('index'); // admin::tracker.stats.index |
|
27 | 4 | }); |
|
28 | |||
29 | 4 | $this->group(['prefix' => 'visits', 'as' => 'visits.'], function () { |
|
30 | 4 | $this->get('/', 'VisitsController@index')->name('index'); // admin::tracker.visits.index |
|
31 | 4 | }); |
|
32 | 4 | } |
|
33 | } |
||
34 |