From c4dd8449daefabda6925d693c39c97221b63275a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 18 Oct 2019 21:27:57 -0600 Subject: [PATCH] Update Settings, hide sponsors feature until re-implemented --- resources/views/settings/partial/sidebar.blade.php | 4 ++-- routes/web.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/settings/partial/sidebar.blade.php b/resources/views/settings/partial/sidebar.blade.php index 43a47b41..272e5934 100644 --- a/resources/views/settings/partial/sidebar.blade.php +++ b/resources/views/settings/partial/sidebar.blade.php @@ -33,9 +33,9 @@ - + --}} diff --git a/routes/web.php b/routes/web.php index 07dcb0e4..08593aa0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -149,7 +149,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('exp/rec', 'ApiController@userRecommendations'); Route::post('discover/tag/subscribe', 'HashtagFollowController@store')->middleware('throttle:maxHashtagFollowsPerHour,60')->middleware('throttle:maxHashtagFollowsPerDay,1440');; Route::get('discover/tag/list', 'HashtagFollowController@getTags'); - Route::get('profile/sponsor/{id}', 'ProfileSponsorController@get'); + // Route::get('profile/sponsor/{id}', 'ProfileSponsorController@get'); Route::get('bookmarks', 'InternalApiController@bookmarks'); Route::get('collection/items/{id}', 'CollectionController@getItems'); Route::post('collection/item', 'CollectionController@storeId'); @@ -318,8 +318,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact 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::get('sponsor', 'SettingsController@sponsor')->name('settings.sponsor'); - Route::post('sponsor', 'SettingsController@sponsorStore'); + // Route::get('sponsor', 'SettingsController@sponsor')->name('settings.sponsor'); + // Route::post('sponsor', 'SettingsController@sponsorStore'); }); Route::group(['prefix' => 'site'], function () {