1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-29 11:05:44 +00:00
Lidarr/NzbDrone.Api/NzbDroneApiModule.cs
2013-02-15 16:52:10 -08:00

18 lines
No EOL
328 B
C#

using System.Linq;
using Nancy;
using Nancy.Responses;
namespace NzbDrone.Api
{
public abstract class NzbDroneApiModule : NancyModule
{
protected NzbDroneApiModule(string resource)
: base("/api/" + resource.Trim('/'))
{
Options["/"] = x => new Response();
}
}
}