I have MVC Routing issue in Sitecore. I have the following route in myRegisterRoutes() method. For this method I need to add language variant since I have enabled language fallback. Could some please help in this.
- For English: http://xyz.com/api/sitecore/Forms/SubmitForm
- For German: http://xyz.com/de-DE/api/sitecore/Forms/SubmitForm
Route map:
routes.MapRoute("FormsApi", "api/sitecore/Forms/SubmitForm",
new { controller = "Forms", action = "SubmitForm" });