<?php
declare(strict_types=1);

return [
    ['GET',  '/sports',                                'Sports\Controllers\SportsController@index',           ['auth'], 'sports.view'],
    ['GET',  '/members/{memberId}/sports/create',      'Sports\Controllers\SportsController@create',          ['auth'], 'sports.add'],
    ['POST', '/members/{memberId}/sports',             'Sports\Controllers\SportsController@store',           ['auth', 'csrf'], 'sports.add'],
    ['POST', '/members/{memberId}/sports/check-conversion', 'Sports\Controllers\SportsController@checkConversion', ['auth', 'csrf'], 'sports.convert'],
];