Fixed seriesid/seasonnumber route

This commit is contained in:
Mark McDowall 2012-10-25 21:20:50 -07:00
parent 6db34689e2
commit e6a0219c81
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@ -49,3 +49,4 @@ nzbdrone.log*txt
_rawPackage_service/
_NCrunch_*
_TeamCity*
NCrunch_*

View File

@ -28,8 +28,7 @@ namespace NzbDrone.Web
routes.MapRouteLowercase(
name: "WithSeasonNumber",
url: "{controller}/{action}/{seriesId}/{seasonNumber}",
defaults: new { controller = "Series", action = "Index", seriesId = UrlParameter.Optional, seasonNumber = UrlParameter.Optional }
url: "{controller}/{action}/{seriesId}/{seasonNumber}"
);
routes.MapRouteLowercase(

View File

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