diff options
| author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-05-15 17:37:19 +0200 |
|---|---|---|
| committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-05-15 17:38:39 +0200 |
| commit | c003337729e6a68df10878f77b11c7a24321df9c (patch) | |
| tree | 1e17667be4468aa060e0b701b957657578002fa6 /doc/development | |
| parent | f4ef6b474c44eb8e7034034dd95152818ae33b4a (diff) | |
| download | gitlab-ce-c003337729e6a68df10878f77b11c7a24321df9c.tar.gz | |
Fix setting Gitlab metrics content types
The method "content_type" on a controller does not always return the
correct content type. On the other hand, the method "request_format"
does _and_ immediately returns a Symbol (e.g. :json) instead of a
mime-type name (e.g. application/json). With these changes metrics
should again report their action names correctly.
Fixes https://gitlab.com/gitlab-com/infrastructure/issues/3499
Diffstat (limited to 'doc/development')
0 files changed, 0 insertions, 0 deletions
