Fix 404 on MediaPicker -- a change to the module's name in module.txt broke its path.

Also removed a dead ctor dependency

--HG--
branch : dev
This commit is contained in:
Dave Reed
2011-03-24 13:22:00 -07:00
parent ddbe069d73
commit 8e24aa333c
2 changed files with 2 additions and 4 deletions

View File

@@ -14,13 +14,10 @@ namespace Orchard.MediaPicker.Controllers {
[Themed(false)]
public class AdminController : Controller {
private readonly IMediaService _mediaService;
private readonly IAuthorizer _authorizer;
public IOrchardServices Services { get; set; }
public AdminController(IOrchardServices services, IMediaService mediaService, IAuthorizer authorizer) {
_authorizer = authorizer;
public AdminController(IOrchardServices services, IMediaService mediaService) {
Services = services;
_mediaService = mediaService;

View File

@@ -1,4 +1,5 @@
Name: Media Picker
Path: MediaPicker
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net