Skip to content

Commit

Permalink
Invalid assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
salarcode committed Dec 30, 2016
1 parent 3e494fd commit 06ea79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LowercaseDashedRouting/LowercaseDashedRoute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public override VirtualPathData GetVirtualPath(RequestContext requestContext, Ro
currentValues["action"] = dashedAction;
}
if (currentValues.TryGetValue("controller", out current) &&
(current as string) == originalAction)
(current as string) == originalController)
{
currentValues["controller"] = dashedController;
}
Expand Down

0 comments on commit 06ea79d

Please sign in to comment.