added root dir management. delete doesn't work for some reason.

This commit is contained in:
Keivan Beigi 2013-01-24 16:02:53 -08:00 committed by kay.one
commit d34092c015
8 changed files with 65 additions and 24 deletions

View file

@ -5,12 +5,12 @@ using NzbDrone.Core.Repository;
namespace NzbDrone.Api.QualityProfiles
{
public class RootFolderModule : NzbDroneApiModule
public class RootDirModule : NzbDroneApiModule
{
private readonly RootDirProvider _rootDirProvider;
public RootFolderModule(RootDirProvider rootDirProvider)
: base("//rootfolders")
public RootDirModule(RootDirProvider rootDirProvider)
: base("//rootdir")
{
_rootDirProvider = rootDirProvider;