Add new dynamic view for creating API keys
This commit is contained in:
parent
87c09a921b
commit
722fd614a1
10 changed files with 311 additions and 492 deletions
|
@ -95,6 +95,8 @@ Route::group(['prefix' => '/users'], function () {
|
|||
|
||||
Route::post('/', 'UserController@store');
|
||||
|
||||
Route::put('/{id}', 'UserController@update');
|
||||
|
||||
Route::delete('/{id}', 'UserController@delete');
|
||||
});
|
||||
|
||||
|
|
|
@ -51,9 +51,9 @@ Route::group(['prefix' => 'account'], function () {
|
|||
*/
|
||||
Route::group(['prefix' => 'account/api'], function () {
|
||||
Route::get('/', 'APIController@index')->name('account.api');
|
||||
Route::get('/new', 'APIController@new')->name('account.api.new');
|
||||
Route::get('/new', 'APIController@create')->name('account.api.new');
|
||||
|
||||
Route::post('/new', 'APIController@save');
|
||||
Route::post('/new', 'APIController@store');
|
||||
|
||||
Route::delete('/revoke/{key}', 'APIController@revoke')->name('account.api.revoke');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue