<?php
declare(strict_types=1);

return [
    ['GET',  '/roles',           'Roles\Controllers\RoleController@index',  ['auth'], 'user.assign_role'],
    ['GET',  '/roles/create',    'Roles\Controllers\RoleController@create', ['auth'], 'user.assign_role'],
    ['POST', '/roles',           'Roles\Controllers\RoleController@store',  ['auth', 'csrf'], 'user.assign_role'],
    ['GET',  '/roles/{id}/edit', 'Roles\Controllers\RoleController@edit',   ['auth'], 'user.assign_role'],
    ['POST', '/roles/{id}',      'Roles\Controllers\RoleController@update', ['auth', 'csrf'], 'user.assign_role'],
];