Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oopanuga committed Nov 6, 2016
1 parent 8c15c06 commit 84030d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ GlobalFilters.Filters.Add(new UrlPolicyCheckAttribute())

Convert a url to a Canonical one
```c#
@Url.ToCanonicalUrl("http://WWW.google.com/")
@Url.SpToCanonicalUrl("http://WWW.google.com/")
//OR
var canonicalUrl = new CanonicalUrl("http://WWW.google.com/").Value.AbsoluteUri
```
Expand Down

0 comments on commit 84030d6

Please sign in to comment.