Skip to content

Commit

Permalink
Merge pull request #1680 from astorije/patch-2
Browse files Browse the repository at this point in the history
Fix missing syntax highlight
  • Loading branch information
dblock authored Sep 13, 2017
2 parents 13f46ba + ad2d45f commit df79bc3
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 @@ -1056,7 +1056,7 @@ end

In the example above Grape will use `blank?` to check whether the `shelf_id` param is present.

Given also takes a `Proc` with custom code. Below, the param `description` is required only if the value of `category` is equal `foo`:
`given` also takes a `Proc` with custom code. Below, the param `description` is required only if the value of `category` is equal `foo`:

```ruby
params do
Expand Down

0 comments on commit df79bc3

Please sign in to comment.