Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Mar 31, 2019 @ 18:50
    Damiaan
    0

    UmbracoMvcArea

    We used to have GlobalSettings.UmbracoMvcArea in v7. But I can't find a replacement for this. Anyone has an idea?

    I am registering a custom route to a backoffice api controller. You have to supply the route yourself

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Mar 31, 2019 @ 18:51
    Damiaan
    100

    Nevermind... it is in the documentation.

    https://our.umbraco.com/documentation/Reference/Routing/Authorized/#defining-a-route

    Solution: inject IGlobalSettings

    :-)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies