mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 01:36:43 +00:00
Update web routes
This commit is contained in:
parent
577dac9802
commit
8aa8a07ef4
1 changed files with 7 additions and 0 deletions
|
@ -225,6 +225,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
'2fa/recovery-codes',
|
'2fa/recovery-codes',
|
||||||
'SettingsController@securityTwoFactorRecoveryCodesRegenerate'
|
'SettingsController@securityTwoFactorRecoveryCodesRegenerate'
|
||||||
);
|
);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone');
|
Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone');
|
||||||
|
@ -238,10 +239,16 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('labs', 'SettingsController@labs')->name('settings.labs');
|
Route::get('labs', 'SettingsController@labs')->name('settings.labs');
|
||||||
Route::post('labs', 'SettingsController@labsStore');
|
Route::post('labs', 'SettingsController@labsStore');
|
||||||
|
|
||||||
|
Route::get('accessibility', 'SettingsController@accessibility')->name('settings.accessibility');
|
||||||
|
Route::post('accessibility', 'SettingsController@accessibilityStore');
|
||||||
|
|
||||||
Route::group(['prefix' => 'relationships'], function() {
|
Route::group(['prefix' => 'relationships'], function() {
|
||||||
Route::redirect('/', '/settings/relationships/home');
|
Route::redirect('/', '/settings/relationships/home');
|
||||||
Route::get('home', 'SettingsController@relationshipsHome')->name('settings.relationships');
|
Route::get('home', 'SettingsController@relationshipsHome')->name('settings.relationships');
|
||||||
});
|
});
|
||||||
|
Route::get('invites/create', 'UserInviteController@create')->name('settings.invites.create');
|
||||||
|
Route::post('invites/create', 'UserInviteController@store');
|
||||||
|
Route::get('invites', 'UserInviteController@show')->name('settings.invites');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::group(['prefix' => 'site'], function () {
|
Route::group(['prefix' => 'site'], function () {
|
||||||
|
|
Loading…
Reference in a new issue