gitlab-org--gitlab-foss/lib/gitlab/base_doorkeeper_controller.rb
2018-10-22 07:00:50 +00:00

10 lines
258 B
Ruby

# frozen_string_literal: true
# This is a base controller for doorkeeper.
# It adds the `can?` helper used in the views.
module Gitlab
class BaseDoorkeeperController < ActionController::Base
include Gitlab::Allowable
helper_method :can?
end
end