Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function map(Registrar $router) |
||
27 | { |
||
28 | $router->group([ |
||
29 | 'middleware' => ['app.hasSetting'], |
||
30 | 'setting' => 'app_name', |
||
31 | ], function ($router) { |
||
32 | $router->get('/', [ |
||
33 | 'as' => 'index', |
||
34 | 'uses' => 'ExploreController@showIndex', |
||
35 | ]); |
||
36 | |||
37 | $router->get('issue/{issue}', [ |
||
38 | 'as' => 'issue', |
||
39 | 'uses' => 'ExploreController@showIssue', |
||
40 | ]); |
||
41 | |||
42 | }); |
||
43 | } |
||
44 | } |
||
45 |