Skip to content

Commit

Permalink
Merge pull request #728 from binarycleric/readme_fix
Browse files Browse the repository at this point in the history
README references undefined method (requires not required)
  • Loading branch information
dblock committed Aug 20, 2014
2 parents a044788 + bcb327c commit 1db4c5e
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 @@ -466,7 +466,7 @@ model you may want to restrict by hashtags that you have previously defined in t

```ruby
params do
required :hashtag, type: String, values: -> { Hashtag.all.map(&:tag) }
requires :hashtag, type: String, values: -> { Hashtag.all.map(&:tag) }
end
```

Expand Down

0 comments on commit 1db4c5e

Please sign in to comment.