mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-26 14:05:29 +03:00
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');
|