trailblazer / roar-rails

Use Roar's representers in Rails.
http://roar.apotomo.de
MIT License
235 stars 65 forks source link

Fix example code on using decorators in README #118

Closed embs closed 9 years ago

embs commented 9 years ago

It does not look like using link method works without importing the Roar::Hypermedia module.

apotonick commented 9 years ago

Thanks! In READMEs, I never know if it should be more like a conceptual "this is how it could work" or a full-blown copy-and-pasteable example. :smile: