| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 1 | public function boot() |
|
| 21 | { |
||
| 22 | 1 | $this->app['router']->group( |
|
| 23 | 1 | ['middleware' => $this->app['config']->get('services.discourse.middleware', ['web', 'auth'])], |
|
| 24 | function (Router $router) { |
||
| 25 | 1 | $router->get( |
|
| 26 | 1 | $this->app['config']->get('services.discourse.route'), |
|
| 27 | [ |
||
| 28 | 1 | 'uses' => 'Spinen\Discourse\Controllers\SsoController@login', |
|
| 29 | 'as' => 'sso.login', |
||
| 30 | ] |
||
| 36 |