This project is read-only.

Custom route to override the 'root'

Topics: Core, Customizing Orchard, Writing modules
Feb 22, 2012 at 2:21 PM
Edited Feb 22, 2012 at 2:39 PM

I got a custom route that catches all BUT the root :/

I tried 2 routedescriptors: "" (empty route) and "{*url}" with the url set to optional and both have a priority of -10000.

Still it doesn't capture the homepage (the / root). Any ideas?

edit: if you wonder : its for a maintenance mode module

Never mind.. though routes were sorted ascending, but they're not - solved :)

Feb 22, 2012 at 10:22 PM

There is probably another route with a higher priority there.