<?php
declare(strict_types=1);

return [
    ['GET',  '/temporary',                                    'Temporary\Controllers\TemporaryController@index',   ['auth'], 'temp.view'],
    ['GET',  '/members/{memberId}/temporary/create',          'Temporary\Controllers\TemporaryController@create',  ['auth'], 'temp.add'],
    ['POST', '/members/{memberId}/temporary',                 'Temporary\Controllers\TemporaryController@store',   ['auth', 'csrf'], 'temp.add'],
    ['GET',  '/members/{memberId}/temporary/{id}',            'Temporary\Controllers\TemporaryController@show',    ['auth'], 'temp.view'],
    ['POST', '/members/{memberId}/temporary/{id}/archive',    'Temporary\Controllers\TemporaryController@archive', ['auth', 'csrf'], 'temp.remove'],
];