debian-mirror-gitlab/app/helpers/access_tokens_helper.rb
2020-05-24 23:13:21 +05:30

7 lines
214 B
Ruby

# frozen_string_literal: true
module AccessTokensHelper
def scope_description(prefix)
prefix == :project_access_token ? [:doorkeeper, :project_access_token_scope_desc] : [:doorkeeper, :scope_desc]
end
end