mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -2,8 +2,6 @@
|
||||
@{
|
||||
Style.Require("ContentTypesAdmin");
|
||||
Script.Require("jQuery");
|
||||
Script.Include("admin.js");
|
||||
|
||||
Layout.Title = T("Edit Content Type").ToString();
|
||||
}
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
@{
|
||||
Style.Require("ContentTypesAdmin");
|
||||
Script.Require("jQuery");
|
||||
Script.Include("admin.js");
|
||||
|
||||
Layout.Title = T("Edit Part").ToString();
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ namespace Orchard.Mvc {
|
||||
return (Type) info.Metadata["ControllerType"];
|
||||
}
|
||||
|
||||
// fail as appropriate for MVC's expectations
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -74,7 +73,7 @@ namespace Orchard.Mvc {
|
||||
}
|
||||
|
||||
// fail as appropriate for MVC's expectations
|
||||
return null;
|
||||
return base.GetControllerInstance(requestContext, controllerType);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user