Corrected route definition on slugify

--HG--
branch : dev
This commit is contained in:
Sébastien Ros
2010-09-26 07:18:35 -07:00
parent df77d8229e
commit 261a544d0a
3 changed files with 3 additions and 15 deletions

View File

@@ -22,13 +22,13 @@ namespace Orchard.Core.Routable {
Route = new Route(
"Admin/Common/Routable/Slugify",
new RouteValueDictionary {
{"area", "Common"},
{"controller", "Routable"},
{"area", "Routable"},
{"controller", "Item"},
{"action", "Slugify"}
},
new RouteValueDictionary(),
new RouteValueDictionary {
{"area", "Common"}
{"area", "Routable"}
},
new MvcRouteHandler())
},

View File

@@ -1,9 +0,0 @@
using System.Web.Mvc;
namespace Orchard.ContentManagement.Extenstions {
public static class UrlHelperExtensions {
public static string Slugify(this UrlHelper urlHelper) {
return urlHelper.Action("Slugify", "Routable", new { area = "Common" });
}
}
}

View File

@@ -233,9 +233,6 @@
<Compile Include="ContentManagement\FieldStorage\IFieldStorageProvider.cs" />
<Compile Include="ContentManagement\FieldStorage\IFieldStorageProviderSelector.cs" />
<Compile Include="ContentManagement\FieldStorage\InfosetStorage\InfosetStorageProvider.cs" />
<Compile Include="ContentManagement\Extenstions\UrlHelperExtensions.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="ContentManagement\FieldStorage\InfosetStorage\InfosetHandler.cs" />
<Compile Include="ContentManagement\FieldStorage\InfosetStorage\InfosetPart.cs" />
<Compile Include="ContentManagement\FieldStorage\SimpleFieldStorage.cs" />