gitlab-org--gitlab-foss/lib/gitlab/base_doorkeeper_controller.rb

9 lines
227 B
Ruby
Raw Normal View History

# 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