<?php
 $router->match(['get', 'post'], 'news', 'NewsController@paginate'); $router->match(['get', 'post'], 'news/latest', 'NewsController@latest'); $router->match(['get', 'post'], 'news/get', 'NewsController@get'); 