diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-18 06:11:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-18 06:11:34 +0300 |
commit | 104ac5e939f8bc7618fb16fb94f08c9b47637d08 (patch) | |
tree | cdfd7673f51cf1d44dd26a3cb305ccddc6401fb6 /app/models/label.rb | |
parent | 67bc0f801fd2526e8e4791c9b53568ec975f2d52 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/label.rb')
-rw-r--r-- | app/models/label.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/label.rb b/app/models/label.rb index a46d6bc5c0f..0ebbb5b9bd3 100644 --- a/app/models/label.rb +++ b/app/models/label.rb @@ -260,7 +260,7 @@ class Label < ApplicationRecord attributes end - def present(attributes) + def present(attributes = {}) super(**attributes.merge(presenter_class: ::LabelPresenter)) end |