Fix bad API behavior
This commit is contained in:
parent
d4d9eda57a
commit
2ec76d283b
10 changed files with 86 additions and 68 deletions
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
Route::group(['prefix' => '/users'], function () {
|
||||
Route::get('/', 'Users\UserController@index')->name('api.application.users');
|
||||
Route::get('/{user}', 'Users\UserController@view')->name('api.applications.users.view');
|
||||
Route::get('/{user}', 'Users\UserController@view')->name('api.application.users.view');
|
||||
|
||||
Route::post('/', 'Users\UserController@store');
|
||||
Route::patch('/{user}', 'Users\UserController@update');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue