/** * Routes for resource {{resource}} */ $router->get('{{resource}}', '{{controller}}@all'); $router->get('{{resource}}/{id}', '{{controller}}@get'); $router->post('{{resource}}', '{{controller}}@add'); $router->put('{{resource}}/{id}', '{{controller}}@put'); $router->delete('{{resource}}/{id}', '{{controller}}@remove');