mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Name: Media Picker
|
||||
Path: MediaPicker
|
||||
AntiForgery: enabled
|
||||
Author: The Orchard Team
|
||||
Website: http://orchardproject.net
|
||||
|
||||
Reference in New Issue
Block a user