Renamed DeleteSeries to Delete

pull/4/head
Mark McDowall 12 years ago
parent 89d22f2eb9
commit a1029b11dd

@ -78,7 +78,7 @@ namespace NzbDrone.Web.Controllers
}
[HttpPost]
public EmptyResult DeleteSeries(int seriesId, bool deleteFiles)
public EmptyResult Delete(int seriesId, bool deleteFiles)
{
_jobProvider.QueueJob(typeof(DeleteSeriesJob), new { SeriesId = seriesId, DeleteFiles = deleteFiles });

@ -1,6 +1,6 @@
var seriesEditorUrl = '../Series/SingleSeriesEditor';
var saveSeriesEditorUrl = '../Series/SaveSingleSeriesEditor';
var seriesDeleteUrl = '../Series/DeleteSeries';
var seriesDeleteUrl = '../Series/Delete';
$("#seriesEditor").dialog({
autoOpen: false,

Loading…
Cancel
Save