From 9eea6e2b43e5b154df72b8521101057ccca2a055 Mon Sep 17 00:00:00 2001 From: Shohrat Date: Tue, 3 Oct 2023 17:19:21 +0500 Subject: [PATCH] component --- plugins/tps/birzha/Plugin.php | 3 +++ plugins/tps/birzha/routes.php | 1 + 2 files changed, 4 insertions(+) diff --git a/plugins/tps/birzha/Plugin.php b/plugins/tps/birzha/Plugin.php index 79dd4e2..05008a2 100644 --- a/plugins/tps/birzha/Plugin.php +++ b/plugins/tps/birzha/Plugin.php @@ -341,11 +341,14 @@ class Plugin extends PluginBase 'TPS\Birzha\Components\Categories' => 'categories', 'TPS\Birzha\Components\Sliders' => 'sliders', 'TPS\Birzha\Components\Offers' => 'offers', + 'TPS\Birzha\Components\FilteredProducts' => 'filteredProducts', 'TPS\Birzha\Components\Singleoffer' => 'singleoffer', 'TPS\Birzha\Components\OfferForm' => 'offerform', 'TPS\Birzha\Components\Messages' => 'messages', 'TPS\Birzha\Components\PaymentApi' => 'paymentapi', 'TPS\Birzha\Components\MyOffers' => 'myOffers', + 'TPS\Birzha\Components\UserOffers' => 'userOffers', + 'TPS\Birzha\Components\SearchOffers' => 'searchOffers', 'TPS\Birzha\Components\Balance' => 'balance', 'TPS\Birzha\Components\ContactForm' => 'contactForm', 'TPS\Birzha\Components\EmailVerify' => 'emailverify', diff --git a/plugins/tps/birzha/routes.php b/plugins/tps/birzha/routes.php index e59ec05..02cbb1c 100644 --- a/plugins/tps/birzha/routes.php +++ b/plugins/tps/birzha/routes.php @@ -11,6 +11,7 @@ use TPS\Birzha\Classes\SmsBuilder; use System\Classes\MailManager; use System\Models\MailLayout; use System\Models\MailTemplate; + Route::namespace('TPS\Birzha\Controllers')->group(function () { Route::prefix('api')->group(function (){