Commit f9354068 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'deprecated-render-text' into 'master'

Replace deprecated render text

See merge request gitlab-org/gitlab-ee!9346
parents d50f4be4 b48a23cd
......@@ -36,6 +36,6 @@ class Oauth::Jira::AuthorizationsController < ApplicationController
auth_response = Gitlab::HTTP.post(oauth_token_url, body: auth_params, allow_local_requests: true)
token_type, scope, token = auth_response['token_type'], auth_response['scope'], auth_response['access_token']
render text: "access_token=#{token}&scope=#{scope}&token_type=#{token_type}"
render plain: "access_token=#{token}&scope=#{scope}&token_type=#{token_type}"
end
end
---
title: Replace deprecated render text
merge_request: 9346
author: Jasper Maes
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment