Attribute routing should not be able to select a NonAction route.
porting #1220 (which fixed this in WebAPI) to MVC.
Comments: Here's an example test case: ``` [Route("bar/{action}")] public class AttrHome2Controller : Controller { public ContentResult Foo() { return new ContentResult { Content = "Bong!" }; } [NonAction] // Works on Rotue action on controller public ContentResult Nope() { return new ContentResult { Content = "Bong!" }; } } ``` bar/Foo should work. bar/Nope should not.
porting #1220 (which fixed this in WebAPI) to MVC.
Comments: Here's an example test case: ``` [Route("bar/{action}")] public class AttrHome2Controller : Controller { public ContentResult Foo() { return new ContentResult { Content = "Bong!" }; } [NonAction] // Works on Rotue action on controller public ContentResult Nope() { return new ContentResult { Content = "Bong!" }; } } ``` bar/Foo should work. bar/Nope should not.