Created
April 18, 2025 05:56
-
-
Save AndyButland/12db32090e87a2db4ba8a6fc13931642 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Umbraco.Cms.Core.Composing; | |
using Umbraco.Cms.Core.Routing; | |
namespace Umbraco.Cms.Web.UI.Composers; | |
public class SoftwarePageUrlsComposer : IComposer | |
{ | |
public void Compose(IUmbracoBuilder builder) | |
{ | |
builder.UrlProviders().Insert<SoftwarePageUrlProvider>(); | |
builder.ContentFinders().InsertBefore<ContentFinderByUrlNew, SoftwarePageContentFinder>(); | |
builder.UrlSegmentProviders().Insert<SoftwarePageUrlSegmentProvider>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment