Skip to content

Commit

Permalink
Update src/AttributeRouting/Framework/AttributeRouteVisitor.cs
Browse files Browse the repository at this point in the history
anal retention
  • Loading branch information
mccalltd committed Feb 17, 2013
1 parent 731aed9 commit 8805d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AttributeRouting/Framework/AttributeRouteVisitor.cs
Expand Up @@ -176,6 +176,7 @@ public bool IsCultureNameMatched(string cultureName)
if (_route.SourceLanguageRoute == null)
{
// This is a source language route:

// Match if this route has no translations.
var translations = _route.Translations.ToArray();
if (!translations.Any())
Expand Down Expand Up @@ -305,4 +306,4 @@ private static string TransformVirtualPathToLowercase(string virtualPath)
return path.ToLowerInvariant() + query;
}
}
}
}

0 comments on commit 8805d3f

Please sign in to comment.