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>2023-02-04 00:08:05 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-04 00:08:05 +0300
commit2eff77c2efe8ad71796561cae3bcd993b9065721 (patch)
tree964b2537abbfa9b8c5290ca82327003be52417e3 /lib/gitlab/allowable.rb
parent8f9307985ea047abb5b8a7c6c56bb644e0b7c363 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/allowable.rb')
-rw-r--r--lib/gitlab/allowable.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/allowable.rb b/lib/gitlab/allowable.rb
index 4518c8a862c..879247d0174 100644
--- a/lib/gitlab/allowable.rb
+++ b/lib/gitlab/allowable.rb
@@ -2,8 +2,8 @@
module Gitlab
module Allowable
- def can?(*args)
- Ability.allowed?(*args)
+ def can?(...)
+ Ability.allowed?(...)
end
end
end