Skip to content

Commit 112a9f4

Browse files
committed
Merge pull request #69 from fshowalter/master
Update README.md
2 parents 392cb70 + aa120b5 commit 112a9f4

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
@@ -172,7 +172,7 @@ expose :text, documentation: { type: "String", desc: "Status update text." }
172172

173173
### Options Hash
174174

175-
The option keys `:version` and `:collection` are always defined. The `:version` key is defined as `api.version`. The `:collection` key is boolean, and defined as `true` if the object presented is an array. The options also contain the runtime environment in `:env`, which includes request parameters in `options[:env][:grape.request.params]`.
175+
The option keys `:version` and `:collection` are always defined. The `:version` key is defined as `api.version`. The `:collection` key is boolean, and defined as `true` if the object presented is an array. The options also contain the runtime environment in `:env`, which includes request parameters in `options[:env]['grape.request.params']`.
176176

177177
Any additional options defined on the entity exposure are included as is. In the following example `user` is set to the value of `current_user`.
178178

0 commit comments

Comments
 (0)