From 71d537b16760891b9ee44771773d9f99a0c8f241 Mon Sep 17 00:00:00 2001 From: Jasper Vriends <4417659+jaspervriends@users.noreply.github.com> Date: Sun, 21 Mar 2021 13:43:49 +0100 Subject: [PATCH] Update extend.php --- extend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend.php b/extend.php index 59afdd7..24e48e6 100644 --- a/extend.php +++ b/extend.php @@ -23,8 +23,8 @@ (new Extend\Routes('forum')) ->get('/robots.txt', 'v17development-flarum-seo', Robots::class), (new Extend\Routes('api')) - ->post('/seo_social_media_image', 'pages.index', UploadSocialMediaImageController::class) - ->delete('/seo_social_media_image', 'pages.index', DeleteSocialMediaImageController::class), + ->post('/seo_social_media_image', 'seo.socialmedia.upload', UploadSocialMediaImageController::class) + ->delete('/seo_social_media_image', 'seo.socialmedia.delete', DeleteSocialMediaImageController::class), new Extend\Locales(__DIR__ . '/locale'),