Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 06:11:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 06:11:34 +0300
commit104ac5e939f8bc7618fb16fb94f08c9b47637d08 (patch)
treecdfd7673f51cf1d44dd26a3cb305ccddc6401fb6 /app/models/label.rb
parent67bc0f801fd2526e8e4791c9b53568ec975f2d52 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb2
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