Commit 5126b788 authored by Alex Kalderimis's avatar Alex Kalderimis

Link to follow-up issue

parent 5fd1c950
......@@ -36,7 +36,7 @@ class Admin::ServicesController < Admin::ApplicationController
# rubocop: disable CodeReuse/ActiveRecord
def integration
@integration ||= Service.find_by(id: params[:id], template: true)
@service ||= @integration # TODO: remove when we have verified no use of @service in templates
@service ||= @integration # TODO: https://gitlab.com/gitlab-org/gitlab/-/issues/329759
end
alias_method :service, :integration
# rubocop: enable CodeReuse/ActiveRecord
......
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