GetRoutes() {
- return new[] {
- new RouteDescriptor {
- Route = new Route(
- "Admin/Migrations/",
- new RouteValueDictionary {
- {"area", "Orchard.Migrations"},
- {"controller", "DatabaseUpdate"},
- {"action", "Index"}
- },
- new RouteValueDictionary(),
- new RouteValueDictionary {
- {"area", "Orchard.Migrations"}
- },
- new MvcRouteHandler())
- },
- new RouteDescriptor {
- Route = new Route(
- "Admin/Migrations/UpdateDatabase",
- new RouteValueDictionary {
- {"area", "Orchard.Migrations"},
- {"controller", "DatabaseUpdate"},
- {"action", "UpdateDatabase"}
- },
- new RouteValueDictionary(),
- new RouteValueDictionary {
- {"area", "Orchard.Migrations"}
- },
- new MvcRouteHandler())
- }
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Migrations/Views/DatabaseUpdate/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Migrations/Views/DatabaseUpdate/Index.cshtml
deleted file mode 100644
index 0860d2718..000000000
--- a/src/Orchard.Web/Modules/Orchard.Migrations/Views/DatabaseUpdate/Index.cshtml
+++ /dev/null
@@ -1,2 +0,0 @@
-@Html.TitleForPage(T("Data Migration").ToString())
-@Html.ActionLink(T("Update Database").ToString(), "UpdateDatabase", "DatabaseUpdate")
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Migrations/Views/Web.config b/src/Orchard.Web/Modules/Orchard.Migrations/Views/Web.config
deleted file mode 100644
index 53bb749f4..000000000
--- a/src/Orchard.Web/Modules/Orchard.Migrations/Views/Web.config
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-