From 31b3daac9afff4faf4b5bcc851896558331349a2 Mon Sep 17 00:00:00 2001 From: LeviCameron1 <86750204+LeviCameron1@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:17:01 -0500 Subject: [PATCH] Fix URL being generated for templates (#996) ## Rationale Mistakenly used getController in the container portion of a generated URL causing template redirects to go to the wrong URL. ## Related Pull Requests - ## Changes - Corrected incorrect container method --- CageUI/src/client/components/layoutEditor/Editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CageUI/src/client/components/layoutEditor/Editor.tsx b/CageUI/src/client/components/layoutEditor/Editor.tsx index 7f6b165f6..5ae126929 100644 --- a/CageUI/src/client/components/layoutEditor/Editor.tsx +++ b/CageUI/src/client/components/layoutEditor/Editor.tsx @@ -752,7 +752,7 @@ const Editor: FC = ({roomSize}) => { window.location.href = ActionURL.buildURL( ActionURL.getController(), 'editLayout', - ActionURL.getController(), + ActionURL.getContainer(), {room: localRoom.name} ); }