mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-26 05:55:28 +03:00
a2cf22d426
- New template - Command updates
9 lines
316 B
Plaintext
9 lines
316 B
Plaintext
/**
|
|
* Routes for resource {{resource}}
|
|
*/
|
|
Route::get('{{resource}}', '{{controller}}@all');
|
|
Route::get('{{resource}}/{id}', '{{controller}}@get');
|
|
Route::post('{{resource}}', '{{controller}}@add');
|
|
Route::put('{{resource}}/{id}', '{{controller}}@put');
|
|
Route::delete('{{resource}}/{id}', '{{controller}}@remove');
|