This project is read-only.

Route pattern matches but getting 404

Topics: Core, Customizing Orchard
Aug 23, 2013 at 11:52 AM
Edited Aug 23, 2013 at 11:54 AM
I have a set of questions each having several tags to it. Each tag is clickable and supposed to filter the questions based on it.

I have a Route for the tag:
new RouteDescriptor
                    //Priority = -4,
                    Priority = -29,
                    Route = new Route(
                        new RouteValueDictionary { 
                            {"tag", ""}
                        new RouteValueDictionary {
                        new RouteValueDictionary{
                        new MvcRouteHandler())
A typical Tag url looks like this:

But I am always getting 404 error.

I debugged the code, but no Action method in the controller (typically I like to see "DisplayByTag" is being invoked) is called.

Can't find out where I am doing wrong!

Please help.