1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 01:36:43 +00:00

Update routes

This commit is contained in:
Daniel Supernault 2018-12-23 17:12:08 -07:00
parent e4a7aa00a5
commit 476e9ff8b3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -132,11 +132,13 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('privacy/blocked-users', 'SettingsController@blockedUsersUpdate')->middleware('throttle:100,1440'); Route::post('privacy/blocked-users', 'SettingsController@blockedUsersUpdate')->middleware('throttle:100,1440');
Route::get('privacy/blocked-instances', 'SettingsController@blockedInstances')->name('settings.privacy.blocked-instances'); Route::get('privacy/blocked-instances', 'SettingsController@blockedInstances')->name('settings.privacy.blocked-instances');
Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() { // Todo: Release in 0.7.2
// Route::group(['prefix' => 'remove', 'middleware' => 'dangerzone'], function() {
// Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary'); // Route::get('request/temporary', 'SettingsController@removeAccountTemporary')->name('settings.remove.temporary');
Route::get('request/permanent', 'SettingsController@removeAccountPermanent')->name('settings.remove.permanent'); // Route::post('request/temporary', 'SettingsController@removeAccountTemporarySubmit');
Route::post('request/permanent', 'SettingsController@removeAccountPermanentSubmit'); // Route::get('request/permanent', 'SettingsController@removeAccountPermanent')->name('settings.remove.permanent');
}); // Route::post('request/permanent', 'SettingsController@removeAccountPermanentSubmit');
// });
Route::group(['prefix' => 'security', 'middleware' => 'dangerzone'], function() { Route::group(['prefix' => 'security', 'middleware' => 'dangerzone'], function() {
Route::get( Route::get(