Hyprlinkr icon indicating copy to clipboard operation
Hyprlinkr copied to clipboard

Support for controller-level attribute routes. Resolves #44

Open joaopbnogueira opened this issue 8 years ago • 2 comments

The DefaultRouteDispatcher was modified to check the controller for a Route attribute, similarly to what it does with actions.

As per MSDN documentation Route attributes on actions take precedence over Route attributes on controllers.

If no attribute is found, the DefaultRouteDispatcher works as before.

A new test was created to check this feature (DispatchReturnsResultWithRouterAttributeControllerRouteName).

joaopbnogueira avatar Feb 22 '17 17:02 joaopbnogueira

Thank you; this is looking good 👍

Did you accidentally check in UpgradeLog.htm?

ploeh avatar Feb 22 '17 20:02 ploeh

Oops, yes apparently I did. Please reject the pull request so that I can correct my branch and re-submit it. (Or is that unnecessary? Sorry but I'm more of a subversion guy!)

joaopbnogueira avatar Feb 22 '17 20:02 joaopbnogueira