mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00

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
14 lines
493 B
C#
14 lines
493 B
C#
using JetBrains.Annotations;
|
|
using Orchard.Data;
|
|
using Orchard.ContentManagement.Handlers;
|
|
using Orchard.Themes.Models;
|
|
|
|
namespace Orchard.Themes.Handlers {
|
|
[UsedImplicitly]
|
|
public class ThemeSiteSettingsHandler : ContentHandler {
|
|
public ThemeSiteSettingsHandler(IRepository<ThemeSiteSettingsRecord> repository) {
|
|
Filters.Add(new ActivatingFilter<ThemeSiteSettings>("Site"));
|
|
Filters.Add(StorageFilter.For(repository));
|
|
}
|
|
}
|
|
} |