Skip to content

Commit

Permalink
Remove Version Param in ManagePackageOwner Url
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmuehsig authored and maartenba committed Jun 4, 2015
1 parent 5823b42 commit 28cb214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/NuGetGallery/Controllers/PackagesController.cs
Expand Up @@ -573,9 +573,9 @@ public virtual ActionResult Download()
}

[Authorize]
public virtual ActionResult ManagePackageOwners(string id, string version)
public virtual ActionResult ManagePackageOwners(string id)
{
var package = _packageService.FindPackageByIdAndVersion(id, version);
var package = _packageService.FindPackageByIdAndVersion(id, string.Empty);
if (package == null)
{
return HttpNotFound();
Expand Down
3 changes: 1 addition & 2 deletions src/NuGetGallery/UrlExtensions.cs
Expand Up @@ -263,8 +263,7 @@ public static string ManagePackageOwners(this UrlHelper url, IPackageVersionMode
controllerName: "Packages",
routeValues: new
{
id = package.Id,
version = package.Version
id = package.Id
});
}

Expand Down

0 comments on commit 28cb214

Please sign in to comment.