| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 44 | 
| Code Lines | 27 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 36 | 
| CRAP Score | 1 | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php namespace Arcanesoft\Auth\Http\Routes\Foundation;  | 
            ||
| 23 | 9 | public function map(Registrar $router)  | 
            |
| 24 |     { | 
            ||
| 25 | 9 | parent::map($router);  | 
            |
| 26 | |||
| 27 | 9 | $this->group([  | 
            |
| 28 | 9 | 'prefix' => 'roles',  | 
            |
| 29 | 9 | 'as' => 'roles.',  | 
            |
| 30 | 9 |         ], function () { | 
            |
| 31 | 9 |             $this->get('/', [ | 
            |
| 32 | 9 | 'as' => 'index',  | 
            |
| 33 | 9 | 'uses' => 'RolesController@index',  | 
            |
| 34 | 9 | ]);  | 
            |
| 35 | |||
| 36 | 9 |             $this->get('create', [ | 
            |
| 37 | 9 | 'as' => 'create',  | 
            |
| 38 | 9 | 'uses' => 'RolesController@create',  | 
            |
| 39 | 9 | ]);  | 
            |
| 40 | |||
| 41 | 9 |             $this->post('store', [ | 
            |
| 42 | 9 | 'as' => 'store',  | 
            |
| 43 | 9 | 'uses' => 'RolesController@store',  | 
            |
| 44 | 9 | ]);  | 
            |
| 45 | |||
| 46 | 9 |             $this->get('{role_id}/show', [ | 
            |
| 47 | 9 | 'as' => 'show',  | 
            |
| 48 | 9 | 'uses' => 'RolesController@show',  | 
            |
| 49 | 9 | ]);  | 
            |
| 50 | |||
| 51 | 9 |             $this->get('{role_id}/edit', [ | 
            |
| 52 | 9 | 'as' => 'edit',  | 
            |
| 53 | 9 | 'uses' => 'RolesController@edit',  | 
            |
| 54 | 9 | ]);  | 
            |
| 55 | |||
| 56 | 9 |             $this->put('{role_id}/update', [ | 
            |
| 57 | 9 | 'as' => 'update',  | 
            |
| 58 | 9 | 'uses' => 'RolesController@update',  | 
            |
| 59 | 9 | ]);  | 
            |
| 60 | |||
| 61 | 9 |             $this->delete('{role_id}/delete', [ | 
            |
| 62 | 9 | 'as' => 'delete',  | 
            |
| 63 | 9 | 'uses' => 'RolesController@delete',  | 
            |
| 64 | 9 | ]);  | 
            |
| 65 | 9 | });  | 
            |
| 66 | 9 | }  | 
            |
| 67 | }  | 
            ||
| 68 |