Fixed seriesid/seasonnumber route
This commit is contained in:
parent
6db34689e2
commit
e6a0219c81
|
@ -49,3 +49,4 @@ nzbdrone.log*txt
|
||||||
_rawPackage_service/
|
_rawPackage_service/
|
||||||
_NCrunch_*
|
_NCrunch_*
|
||||||
_TeamCity*
|
_TeamCity*
|
||||||
|
NCrunch_*
|
|
@ -28,8 +28,7 @@ namespace NzbDrone.Web
|
||||||
|
|
||||||
routes.MapRouteLowercase(
|
routes.MapRouteLowercase(
|
||||||
name: "WithSeasonNumber",
|
name: "WithSeasonNumber",
|
||||||
url: "{controller}/{action}/{seriesId}/{seasonNumber}",
|
url: "{controller}/{action}/{seriesId}/{seasonNumber}"
|
||||||
defaults: new { controller = "Series", action = "Index", seriesId = UrlParameter.Optional, seasonNumber = UrlParameter.Optional }
|
|
||||||
);
|
);
|
||||||
|
|
||||||
routes.MapRouteLowercase(
|
routes.MapRouteLowercase(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
var seriesEditorUrl = '../Series/Edit';
|
var seriesEditorUrl = '../series/edit';
|
||||||
var saveSeriesEditorUrl = '../Series/Edit';
|
var saveSeriesEditorUrl = '../series/edit';
|
||||||
var seriesDeleteUrl = '../Series/Delete';
|
var seriesDeleteUrl = '../series/delete';
|
||||||
|
|
||||||
$("#seriesEditor").dialog({
|
$("#seriesEditor").dialog({
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
|
|
Loading…
Reference in New Issue