Module: AccessTokensHelper

Defined in:
app/helpers/access_tokens_helper.rb

Instance Method Summary collapse

Instance Method Details

#scope_description(prefix) ⇒ Object


4
5
6
# File 'app/helpers/access_tokens_helper.rb', line 4

def scope_description(prefix)
  prefix == :project_access_token ? [:doorkeeper, :project_access_token_scope_desc] : [:doorkeeper, :scope_desc]
end