split controller to Profile* and Account*, sort tables by last change
This commit is contained in:
+8
-5
@@ -31,12 +31,15 @@ Route::group(['middleware' => 'auth'], function () {
|
||||
'prefix' => 'profile',
|
||||
], function () {
|
||||
Route::get('edit', 'ProfileController@editProfile')->name('profile.edit');
|
||||
Route::post('edit', 'ProfileController@storeProfile')->name('profile.store');
|
||||
Route::post('store', 'ProfileController@storeProfile')->name('profile.store');
|
||||
});
|
||||
|
||||
Route::post('create', 'TableController@storeNew')->name('table.storeNew');
|
||||
|
||||
Route::get('logins', 'ProfileController@editAccount')->name('account.edit');
|
||||
Route::post('logins', 'ProfileController@storeAccount')->name('account.store');
|
||||
Route::group([
|
||||
'prefix' => 'account',
|
||||
], function () {
|
||||
Route::get('edit', 'AccountController@editAccount')->name('account.edit');
|
||||
Route::post('store', 'AccountController@storeAccount')->name('account.store');
|
||||
Route::get('forget-social-login/{id}', 'AccountController@forgetSocialLogin')->name('forget-identity');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user