From 275c0d74cd68677622a5431505c5c870c473063d Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 29 Mar 2026 21:40:15 +0000
Subject: [PATCH] =Seems to be working, huzzah! Added some changes for on-this-page nav

---
 inc/rest/routes/FormRoutes.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/inc/rest/routes/FormRoutes.php b/inc/rest/routes/FormRoutes.php
index 9b136e2..e6be516 100644
--- a/inc/rest/routes/FormRoutes.php
+++ b/inc/rest/routes/FormRoutes.php
@@ -57,14 +57,16 @@
 			->rateLimit(5) // 5 submissions per minute
 			->get([$this, 'getForms'])
 			->auth(PermissionHandler::combine(['logged_in', ['actionNonce'=>'dash-']]))
-			->rateLimit(30);
+			->rateLimit(30)
+			->register();
 
 		// Get specific form configuration
 		Route::for(Route::pattern('forms/{form_type}'))
 			->get([$this, 'getForm'])
 			->arg('form_type', 'string|required')
 			->auth('logged_in')
-			->rateLimit(30);
+			->rateLimit(30)
+			->register();
 	}
 
 	/**

--
Gitblit v1.10.0