AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageRouteHandlerDefault..::..RouteEmptySlugs Property

Gets the route empty slugs setting from configuration. Returns 1 (enabled) by default, or 0 (disabled) if the "RouteEmptySlugs" app setting is set to a value other than "1".

Namespace:  AdvantageCMS.Core.Routing
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public int RouteEmptySlugs { get; }

Field Value

1 if empty slug routing is enabled; 0 if disabled.