1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-28 02:27:13 +00:00
Lidarr/NzbDrone.Api/NzbDroneApiModule.cs

18 lines
328 B
C#
Raw Normal View History

using System.Linq;
using Nancy;
2013-01-20 01:37:48 +00:00
using Nancy.Responses;
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();
}
}
}