| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 67 | protected function registerRoutes() |
||
| 68 | { |
||
| 69 | if (Config::get('formio.route.enabled')) { |
||
| 70 | Route::group( |
||
| 71 | [ |
||
| 72 | 'namespace' => 'Spinen\Formio\Http\Controllers', |
||
| 73 | 'middleware' => Config::get('formio.route.middleware', ['api', 'auth:api']), |
||
| 74 | ], |
||
| 75 | function () { |
||
| 76 | $this->loadRoutesFrom(realpath(__DIR__ . '/../../routes/web.php')); |
||
| 77 | } |
||
| 82 |