diff options
| author | Rémy Coutable <remy@rymai.me> | 2016-10-07 09:17:35 +0000 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2016-10-07 09:17:35 +0000 |
| commit | b58ea12aa9b7ba9f3a8bcdfce32cb775ba05999a (patch) | |
| tree | adfd213830826c2a1a31c449b08264fa457a6399 /doc/api/projects.md | |
| parent | a17412f0aa9ef9c99a5c136906ea8a585326c27d (diff) | |
| parent | 86c0c0869dd4b9de301822a7d598bc4528604e5a (diff) | |
| download | gitlab-ce-b58ea12aa9b7ba9f3a8bcdfce32cb775ba05999a.tar.gz | |
Merge branch '22820-api-use-env-not-request-in-helpers' into 'master'
Resolve "NameError: undefined local variable or method `request' for #<Grape::Middleware::Error:0x007fc990..."
## What does this MR do?
Switches from `request` to `env` in an API helper method as the helpers are included in contexts lacking `request`.
## Are there points in the code the reviewer needs to double check?
I couldn't build a reproducer for this.
Closes #22820
See merge request !6615
Diffstat (limited to 'doc/api/projects.md')
0 files changed, 0 insertions, 0 deletions
