Skip to content

Commit 41af572

Browse files
author
John75SunCity
committed
fix: Render base portal.portal_my_home instead of inheriting template
- Changed /portal-hub route to render 'portal.portal_my_home' instead of 'records_management.portal_my_home_preconfigured' - The preconfigured template inherits from portal_my_home, so rendering the base template automatically applies the inheritance - This fixes 'View not found in website X' error on multi-website setups
1 parent 9ba3e63 commit 41af572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

records_management/controllers/portal.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,8 @@ def portal_hub(self, **kw):
14851485
'partner': partner,
14861486
}
14871487

1488-
return request.render('records_management.portal_my_home_preconfigured', values)
1488+
# Render the base portal home template - our inheritance will apply automatically
1489+
return request.render('portal.portal_my_home', values)
14891490

14901491
# ============================================================================
14911492
# CERTIFICATES PORTAL ROUTES

0 commit comments

Comments
 (0)