Skip to content

What is the best way to determine if requested URL is related to admin pages/resources? #16672

Answered by hishamco
arkadiuszwojcik asked this question in Q&A
Discussion options

You must be logged in to vote

Simple you can check the URL if contains AdminUrlPrefix in the OC.Admin module, for more info check https://docs.orchardcore.net/en/latest/reference/modules/Admin/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arkadiuszwojcik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants