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