mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Build*Model -> Build*Shape (in process of changing to work with (Clay) shapes instead of ContentItemViewModel)
--HG-- branch : dev
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using JetBrains.Annotations;
|
||||
using Orchard.Core.Navigation.Drivers;
|
||||
using Orchard.Core.Navigation.Models;
|
||||
using Orchard.Data;
|
||||
using Orchard.ContentManagement.Handlers;
|
||||
@@ -8,7 +7,7 @@ namespace Orchard.Core.Navigation.Handlers {
|
||||
[UsedImplicitly]
|
||||
public class MenuItemPartHandler : ContentHandler {
|
||||
public MenuItemPartHandler(IRepository<MenuItemPartRecord> repository) {
|
||||
Filters.Add(new ActivatingFilter<MenuItemPart>(MenuItemPartDriver.ContentType.Name));
|
||||
Filters.Add(new ActivatingFilter<MenuItemPart>("MenuItem"));
|
||||
Filters.Add(StorageFilter.For(repository));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user