<?php
 $router->match(['get', 'post'], 'document', 'DocumentController@index'); $router->match(['get', 'post'], 'document/add', 'DocumentController@add'); $router->match(['get', 'post'], 'document/edit', 'DocumentController@edit'); $router->match(['get', 'post'], 'document/delete', 'DocumentController@delete'); $router->match(['get', 'post'], 'document/show', 'DocumentController@show'); $router->match(['get', 'post'], 'document/sort', 'DocumentController@sort'); 