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