Umbraco action with parmeter error: “Page not found No umbraco document matches the url '/About/Topic?topic=aloha'.”
I have this problem. I created the "Topic" action with the parameter "topic" but when I go to "About / Topic? topic = aloha" I can not find this action and I get an error: "Page not found No umbraco document matches the url '/ About / Topic? Topic = aloha'. "
Controller:
public class AboutController : Umbraco.Web.Mvc.RenderMvcController
{
// GET: About
public ActionResult About(RenderModel model)
{
return View("About", model);
}
public ActionResult Topic( string topic)
{
return View("About");
}
}
Umbraco action with parmeter error: “Page not found No umbraco document matches the url '/About/Topic?topic=aloha'.”
I have this problem. I created the "Topic" action with the parameter "topic" but when I go to "About / Topic? topic = aloha" I can not find this action and I get an error: "Page not found No umbraco document matches the url '/ About / Topic? Topic = aloha'. "
Controller:
Routing:
The controller's actions had to be changed on
and called /About?topic=aloha
is working on a reply...