mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update web routes
This commit is contained in:
parent
781d3c0ec3
commit
526807f01c
1 changed files with 7 additions and 1 deletions
|
@ -549,7 +549,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
|||
Route::get('invites', 'UserInviteController@show')->name('settings.invites');
|
||||
// Route::get('sponsor', 'SettingsController@sponsor')->name('settings.sponsor');
|
||||
// Route::post('sponsor', 'SettingsController@sponsorStore');
|
||||
Route::prefix('import')->group(function() {
|
||||
Route::group(['prefix' => 'import', 'middleware' => 'dangerzone'], function() {
|
||||
Route::get('/', 'SettingsController@dataImport')->name('settings.import');
|
||||
Route::prefix('instagram')->group(function() {
|
||||
Route::get('/', 'ImportController@instagram')->name('settings.import.ig');
|
||||
|
@ -564,6 +564,12 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
|||
Route::post('timeline', 'SettingsController@updateTimelineSettings');
|
||||
Route::get('media', 'SettingsController@mediaSettings')->name('settings.media');
|
||||
Route::post('media', 'SettingsController@updateMediaSettings');
|
||||
|
||||
Route::group(['prefix' => 'account/aliases', 'middleware' => 'dangerzone'], function() {
|
||||
Route::get('manage', 'ProfileAliasController@index');
|
||||
Route::post('manage', 'ProfileAliasController@store');
|
||||
Route::post('manage/delete', 'ProfileAliasController@delete');
|
||||
});
|
||||
});
|
||||
|
||||
Route::group(['prefix' => 'site'], function () {
|
||||
|
|
Loading…
Reference in a new issue