diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 00:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 00:09:27 +0300 |
commit | c9bef85d79791d41292d2f0727eb362034ebba1e (patch) | |
tree | cb35ec5eb6a83c5d311c8b61ea213450972d8026 /app/services/issuable_links | |
parent | 6463521e08b00e62d3c877aefd8517f5387d54ab (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/issuable_links')
-rw-r--r-- | app/services/issuable_links/create_service.rb | 4 | ||||
-rw-r--r-- | app/services/issuable_links/list_service.rb | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/services/issuable_links/create_service.rb b/app/services/issuable_links/create_service.rb index 4816be566dd..cbb81f1f521 100644 --- a/app/services/issuable_links/create_service.rb +++ b/app/services/issuable_links/create_service.rb @@ -7,7 +7,9 @@ module IssuableLinks attr_reader :issuable, :current_user, :params def initialize(issuable, user, params) - @issuable, @current_user, @params = issuable, user, params.dup + @issuable = issuable + @current_user = user + @params = params.dup end def execute diff --git a/app/services/issuable_links/list_service.rb b/app/services/issuable_links/list_service.rb index 10a2da7eb03..fe9678dcc32 100644 --- a/app/services/issuable_links/list_service.rb +++ b/app/services/issuable_links/list_service.rb @@ -7,7 +7,8 @@ module IssuableLinks attr_reader :issuable, :current_user def initialize(issuable, user) - @issuable, @current_user = issuable, user + @issuable = issuable + @current_user = user end def execute |