<?php
declare(strict_types=1);

return [
    ['GET',  '/alerts',                             'Alerts\Controllers\AlertController@index',       ['auth'], 'alert.view'],
    ['GET',  '/alerts/log',                         'Alerts\Controllers\AlertController@log',         ['auth'], 'alert.view'],
    ['POST', '/alerts/{id:\d+}/toggle',             'Alerts\Controllers\AlertController@toggle',      ['auth', 'csrf'], 'alert.manage'],
    ['POST', '/alerts/log/{id:\d+}/acknowledge',    'Alerts\Controllers\AlertController@acknowledge', ['auth', 'csrf'], 'alert.view'],
];
