tags:

views:

29

answers:

1

Hello

I was wondering if there is some easy way to route an entire controller to something like:

Foo/{Action}?

or do I have to write a route for every action in that controller?

/M

+5  A: 

Not totally sure what you want todo, but how about:

            routes.MapRoute(
            "FooMap",
            "Foo/{action}",
            new { controller = "Foo"})
aanund