mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
Changing content type names to PascalCase
Became clear while editing metadata the names the only lowercase value and stick out pretty badly especially when used as {id} in urls --HG-- branch : dev
This commit is contained in:
@@ -8,9 +8,9 @@ namespace Orchard.Core.Navigation.Handlers {
|
||||
[UsedImplicitly]
|
||||
public class MenuPartHandler : ContentHandler {
|
||||
public MenuPartHandler(IRepository<MenuPartRecord> menuPartRepository) {
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("blog"));
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("page"));
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("menuitem"));
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("Blog"));
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("Page"));
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("MenuItem"));
|
||||
Filters.Add(StorageFilter.For(menuPartRepository));
|
||||
|
||||
OnInitializing<MenuPart>((ctx, x) => {
|
||||
|
Reference in New Issue
Block a user