Inference of routes in a tenant site by helpers like @Url.Action("Index", "Forum") fails to know that 'Index' is the default action and so returns /s2/forum/index which is problematic for various inferred API calls.
Can be resolved by moving routing registration line up:
routes.AddForumRoutes(new cloudscribe.Core.Web.Components.SiteFolderRouteConstraint());
to above the block
if (useFolders) {
but that requires testing for unintended consequences.
This got worked around in the forums code itself - not seeing any residual bugs in forum post creation in tenant site, in solution created from template.
Inference of routes in a tenant site by helpers like @Url.Action("Index", "Forum") fails to know that 'Index' is the default action and so returns /s2/forum/index which is problematic for various inferred API calls.
Can be resolved by moving routing registration line up:
routes.AddForumRoutes(new cloudscribe.Core.Web.Components.SiteFolderRouteConstraint());
to above the blockif (useFolders) {
but that requires testing for unintended consequences.https://github.com/exeGesIS-SDM/cloudscribe.TalkAbout/issues/17