Module: Gitlab::Allowable

Instance Method Summary collapse

Instance Method Details

#can?(*args) ⇒ Boolean

Returns:

  • (Boolean)

5
6
7
# File 'lib/gitlab/allowable.rb', line 5

def can?(*args)
  Ability.allowed?(*args)
end