Jake Vanderwerf
2026-02-10 0115bc28b17cb32867d2c6efeccb96baceaa66cb
JVBase.php
@@ -23,6 +23,7 @@
use JVBase\rest\routes\FeedRoutes;
use JVBase\rest\routes\FavouritesRoutes;
use JVBase\rest\routes\IntegrationsSquareRoutes;
use JVBase\rest\routes\IntegrationsHelcimRoutes;
use JVBase\rest\routes\NotificationsRoutes;
use JVBase\rest\routes\ContentRoutes;
use JVBase\rest\routes\TermRoutes;
@@ -30,6 +31,7 @@
//use JVBase\rest\routes\BioRoutes;
use JVBase\rest\routes\SettingsRoutes;
//use JVBase\rest\routes\ShopRoutes;
use JVBase\rest\routes\ContentTermsRoutes;
use JVBase\rest\routes\SEORoutes;
use JVBase\rest\routes\QueueRoutes;
use JVBase\rest\routes\ErrorRoutes;
@@ -43,7 +45,7 @@
use JVBase\rest\routes\VoteRoutes;
use JVBase\rest\routes\Invitations;
use JVBase\rest\routes\ApprovalRoutes;
//use JVBase\rest\routes\AdminRoutes;
use JVBase\rest\routes\AdminRoutes;
use JVBase\rest\routes\IntegrationsRoutes;
use JVBase\utility\Features;
@@ -127,6 +129,9 @@
      if (Features::hasIntegration('square')) {
         $this->routes['square'] = new IntegrationsSquareRoutes();
      }
      if (Features::hasIntegration('helcim')) {
         $this->routes['helcim'] = new IntegrationsHelcimRoutes();
      }
      if (Features::forSite()->has('feed_block')) {
         $this->routes['feed'] = new FeedRoutes();
@@ -145,10 +150,11 @@
      if (jvbSiteHasDashboard()) {
         $this->routes['error'] = new ErrorRoutes();
//            $this->routes['admin']  = new AdminRoutes();
            $this->routes['admin']  = new AdminRoutes();
         $this->routes['content'] = new ContentRoutes();
//            $this->routes['bio']    = new BioRoutes();
//       $this->routes['shop'] = new ShopRoutes();
         $this->routes['contentTax'] = new ContentTermsRoutes();
         $this->routes['options'] = new OptionsRoutes();
      }