1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-01 12:45:03 +00:00
Sonarr/NzbDrone.Api/NzbDroneApiModule.cs

14 lines
305 B
C#
Raw Normal View History

using Nancy;
2013-05-22 00:58:57 +00:00
using Nancy.Security;
2013-01-20 01:37:48 +00:00
namespace NzbDrone.Api
{
public abstract class NzbDroneApiModule : NancyModule
{
protected NzbDroneApiModule(string resource)
2013-01-20 01:37:48 +00:00
: base("/api/" + resource.Trim('/'))
{
2013-01-20 01:37:48 +00:00
Options["/"] = x => new Response();
}
}
}