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:
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