summaryrefslogtreecommitdiff
path: root/app/presenters/user_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/user_presenter.rb')
-rw-r--r--app/presenters/user_presenter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb
index 26b8169d2b0..43164cca9c9 100644
--- a/app/presenters/user_presenter.rb
+++ b/app/presenters/user_presenter.rb
@@ -29,8 +29,8 @@ class UserPresenter < Gitlab::View::Presenter::Delegated
private
- def can?(*args)
- user.can?(*args)
+ def can?(...)
+ user.can?(...)
end
def should_be_private?