Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Arcanesoft\Tracker\Http\Routes\Admin; |
||
21 | public function map() |
||
22 | { |
||
23 | 4 | $this->prefix('stats')->name('stats.')->group(function () { |
|
24 | 4 | $this->get('/', 'DashboardController@index') |
|
25 | 4 | ->name('index'); // admin::tracker.stats.index |
|
26 | 4 | }); |
|
27 | |||
28 | 4 | $this->prefix('visitors')->name('visitors.')->group(function () { |
|
29 | 4 | $this->get('/', 'VisitorsController@index') |
|
30 | 4 | ->name('index'); // admin::tracker.visitors.index |
|
31 | 4 | }); |
|
32 | |||
33 | 4 | $this->prefix('settings')->name('settings.')->group(function () { |
|
34 | 4 | $this->get('/', 'SettingsController@index') |
|
35 | 4 | ->name('index'); // admin::tracker.settings.index |
|
36 | 4 | }); |
|
37 | } |
||
38 | } |
||
39 |