Quality type sizes moved to backbone + SS (API)

This commit is contained in:
Mark McDowall 2013-01-01 18:06:55 -08:00
parent 5ba1c0eceb
commit c8621b8100
24 changed files with 244 additions and 356 deletions

View file

@ -6,8 +6,10 @@ using System.Web;
using Funq;
using Ninject;
using NzbDrone.Api.QualityProfiles;
using NzbDrone.Api.QualityType;
using ServiceStack.ContainerAdapter.Ninject;
using ServiceStack.WebHost.Endpoints;
using QualityProfileService = NzbDrone.Api.QualityProfiles.QualityProfileService;
namespace NzbDrone.Api
{
@ -28,7 +30,9 @@ namespace NzbDrone.Api
Routes
.Add<QualityProfileModel>("/qualityprofiles")
.Add<QualityProfileModel>("/qualityprofiles/{Id}");
.Add<QualityProfileModel>("/qualityprofiles/{Id}")
.Add<QualityTypeModel>("/qualitytypes")
.Add<QualityTypeModel>("/qualitytypes/{Id}");
Bootstrapper.Initialize();
}