<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\WebAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'event', 'EventController@index'); $router->match(['get', 'post'], 'event/{id}', 'EventController@show'); $router->match(['get', 'post'], 'event/{id}/submit', 'EventController@submit'); $router->match(['get', 'post'], 'event_order_member', 'EventOrderMemberController@index'); $router->match(['get', 'post'], 'event_order_member/pay/{id}', 'EventOrderMemberController@pay'); }); 