Skip to content

Commit cd3ac5a

Browse files
committed
Merge pull request #90 from mladenb/patch-1
Fixed a typo
2 parents 6523918 + 7253a70 commit cd3ac5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The link class represents hypermedia on a representation. It looks like this:
3838

3939
The thing which makes this class special is it's support for templates. For example:
4040

41-
var link = new Link("beers, "/breweries/{id}/beers");
41+
var link = new Link("beers", "/breweries/{id}/beers");
4242

4343
Notice the {id}, this allows you to return a templated link as hypermedia. But you can also turn it into an absolute link really easily:
4444

0 commit comments

Comments
 (0)