Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Arcanesoft\Seo\Providers; |
||
38 | 16 | private function mapAdminRoutes(Router $router) |
|
39 | { |
||
40 | 16 | $attributes = $this->getAdminAttributes( |
|
41 | 16 | 'seo.', |
|
42 | 16 | 'Arcanesoft\\Seo\\Http\\Controllers\\Admin', |
|
43 | 16 | $this->config()->get('arcanesoft.seo.route.prefix', 'seo') |
|
44 | ); |
||
45 | |||
46 | 16 | $router->group($attributes, function ($router) { |
|
47 | 16 | Routes\Admin\SeoRoutes::register($router); |
|
48 | 16 | }); |
|
49 | 16 | } |
|
50 | } |
||
51 |