Tiny Bug in ArticleController ViewArticle action?

Sep 14, 2009 at 8:07 PM
Edited Sep 14, 2009 at 8:08 PM

Hello;

Not sure if this is the appropriate place to ask this or in the issue tracker area, but here I am, maybe I chose wrong.  I was trying to get a handle on 301 redirects so I fired up the BeerHouse, viewed an article, then changed the url in my browser address bar from http://localhost:55600/articles/5/we-are-heading-to-eastern-pa-for-the-4th-of-july   to something like http://localhost:55600/articles/5/I-hate-family-vacations.  The Beerhouse crashed, so I changed this line:

 

this.RedirectToAction(301, "View", new { id = viewData.ArticleID, path = viewData.Path });  to

 

this.RedirectToAction(301, "ViewArticle", new { id = viewData.ArticleID, path = viewData.Path });