<?php
declare(strict_types=1);

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