Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 18, 2012
@jmaicher jmaicher Fixed URL Helpers example in README d867cff
@jmaicher jmaicher Fixed URL Helpers example in README
The Roar::Representer::Feature::Hypermedia modules needs to be included
in order to use link.
bc8f623
Commits on Apr 19, 2012
@apotonick Merge pull request #12 from jmaicher/README-fix
Fixed URL Helpers example in README
d9fa035
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.markdown
View
2  README.markdown
@@ -91,10 +91,12 @@ Any URL helpers from the Rails app are automatically available in representers.
```ruby
module FruitRepresenter
include Roar::Representer::JSON
+ include Roar::Representer::Feature::Hypermedia
link :self do
fruit_url self
end
+end
```
To get the hyperlinks up and running, please make sure to set the right _host name_ in your environment files (config/environments):

No commit comments for this range

Something went wrong with that request. Please try again.