webdav portal owa fixes

This commit is contained in:
vfedosevich 2015-02-05 06:44:31 -08:00
parent 2968fbb967
commit eb8c879605
6 changed files with 48 additions and 24 deletions

View file

@ -45,11 +45,23 @@ namespace WebsitePanel.WebDavPortal
);
routes.MapRoute(
name: FileSystemRouteNames.ShowOfficeOnlinePath,
url: "office365/{org}/{*pathPart}",
defaults: new { controller = "FileSystem", action = "ShowOfficeDocument", pathPart = UrlParameter.Optional }
name: FileSystemRouteNames.ViewOfficeOnline,
url: "office365/view/{org}/{*pathPart}",
defaults: new { controller = "FileSystem", action = "ViewOfficeDocument", pathPart = UrlParameter.Optional }
);
routes.MapRoute(
name: FileSystemRouteNames.EditOfficeOnline,
url: "office365/edit/{org}/{*pathPart}",
defaults: new { controller = "FileSystem", action = "EditOfficeDocument", pathPart = UrlParameter.Optional }
);
//routes.MapRoute(
// name: FileSystemRouteNames.ShowOfficeOnlinePath,
// url: "office365/{org}/{*pathPart}",
// defaults: new { controller = "FileSystem", action = "ShowOfficeDocument", pathPart = UrlParameter.Optional }
// );
routes.MapRoute(
name: FileSystemRouteNames.ShowAdditionalContent,
url: "show-additional-content/{*path}",