<?php
declare(strict_types=1);

return [
    ['GET',  '/death',                    'Death\Controllers\DeathController@index',    ['auth'], 'transfer.view'],
    ['GET',  '/death/create/{memberId}',  'Death\Controllers\DeathController@create',   ['auth'], 'transfer.initiate'],
    ['POST', '/death/store/{memberId}',   'Death\Controllers\DeathController@store',    ['auth', 'csrf'], 'transfer.initiate'],
    ['GET',  '/death/{id}',               'Death\Controllers\DeathController@show',     ['auth'], 'transfer.view'],
    ['POST', '/death/{id}/pay',           'Death\Controllers\DeathController@pay',      ['auth', 'csrf'], 'payment.collect'],
    ['POST', '/death/{id}/complete',      'Death\Controllers\DeathController@complete', ['auth', 'csrf'], 'transfer.approve'],
];