diff --git a/NzbDrone.Api/Directories/DirectoryModule.cs b/NzbDrone.Api/Directories/DirectoryModule.cs index 674171e8e..560364732 100644 --- a/NzbDrone.Api/Directories/DirectoryModule.cs +++ b/NzbDrone.Api/Directories/DirectoryModule.cs @@ -16,15 +16,15 @@ namespace NzbDrone.Api.Directories : base("/directories") { _diskProvider = diskProvider; - Post["/"] = x => GetDirectories(); + Get["/"] = x => GetDirectories(); } private Response GetDirectories() { - if (!Request.Form.query.HasValue) + if (!Request.Query.query.HasValue) return new List().AsResponse(); - string query = Request.Form.query.Value; + string query = Request.Query.query.Value; IEnumerable dirs = null; try diff --git a/NzbDrone.Api/Properties/AssemblyInfo.cs b/NzbDrone.Api/Properties/AssemblyInfo.cs index 5d17bb7bf..812afcebc 100644 --- a/NzbDrone.Api/Properties/AssemblyInfo.cs +++ b/NzbDrone.Api/Properties/AssemblyInfo.cs @@ -34,3 +34,5 @@ using System.Runtime.InteropServices; // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] + +[assembly: InternalsVisibleTo("NzbDrone.Core")] diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index b96f11898..723b697a4 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -210,10 +210,13 @@ + + + + - @@ -424,8 +427,6 @@ - - @@ -439,7 +440,6 @@ - diff --git a/NzbDrone.Web/Views/V2/Index.cshtml b/NzbDrone.Web/Views/V2/Index.cshtml index 9ecb12368..e37caf806 100644 --- a/NzbDrone.Web/Views/V2/Index.cshtml +++ b/NzbDrone.Web/Views/V2/Index.cshtml @@ -13,7 +13,7 @@ - @ViewBag.Title - NzbDrone + NzbDrone @@ -42,8 +42,8 @@