upgraded other projs to 4.5, added page to render for back office for, now to get requirejs wired up properly as its not returning the correct

paths.
This commit is contained in:
Shannon Deminick
2013-05-27 01:23:49 -10:00
parent faae0b85cb
commit cdbd1b504f
30 changed files with 17051 additions and 51 deletions

View File

@@ -147,6 +147,16 @@ namespace Umbraco.Web
{
var umbracoPath = GlobalSettings.UmbracoMvcArea;
//Create the back office route
// TODO: Change this to the normal route, currently it is /Belle for dev testing
var backOfficeRoute = RouteTable.Routes.MapRoute(
"Umbraco_back_office",
//umbracoPath + "/{action}/{id}",
"Belle/{action}/{id}",
new { controller = "BackOffice", action = "Default", id = UrlParameter.Optional },
new[]{"Umbraco.Web.Mvc"});
backOfficeRoute.DataTokens.Add("area", umbracoPath);
//Create the front-end route
var defaultRoute = RouteTable.Routes.MapRoute(
"Umbraco_default",