On A c# mvc website, I created a controller with the name NotFound, and then created a default route to an index action on the controller. When I debugged the program it went to the correct controller action but did not display anything in the view. Does any one know why?
A:
did you do:
return View("some view name");
in the action method?
what does the some view name.aspx
contain?
Andrew Bullock
2010-08-23 09:37:43
The view was called NoFound.spark, so I did not specify a view name. The view just contained some text
dave
2010-08-24 08:18:39
Ok so you at least did `return View();`. Have you configured the spark view engine correctly? http://dev.dejardin.org/documentation/configuring
Andrew Bullock
2010-08-24 09:36:48