Getting the blogs admin UI back up and running

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-14 22:39:26 -07:00
parent fd1f654b66
commit f3854ddbb6
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
using System;
using System.Linq;
using System.Web.Mvc;
using JetBrains.Annotations;
@@ -8,7 +7,6 @@ using Orchard.Blogs.Models;
using Orchard.Blogs.Services;
using Orchard.Blogs.ViewModels;
using Orchard.ContentManagement;
using Orchard.Core.Common.Models;
using Orchard.Localization;
using Orchard.Mvc.Results;
using Orchard.Settings;

View File

@@ -2,7 +2,6 @@ using JetBrains.Annotations;
using Orchard.Blogs.Drivers;
using Orchard.Blogs.Models;
using Orchard.ContentManagement.Handlers;
using Orchard.Core.Common.Models;
using Orchard.Core.Routable.Models;
using Orchard.Data;
@@ -11,7 +10,6 @@ namespace Orchard.Blogs.Handlers {
public class BlogHandler : ContentHandler {
public BlogHandler(IRepository<BlogRecord> repository) {
Filters.Add(new ActivatingFilter<Blog>(BlogDriver.ContentType.Name));
Filters.Add(new ActivatingFilter<CommonAspect>(BlogDriver.ContentType.Name));
Filters.Add(new ActivatingFilter<IsRoutable>(BlogDriver.ContentType.Name));
Filters.Add(StorageFilter.For(repository));
}