summaryrefslogtreecommitdiff
path: root/lib/gitlab/base_doorkeeper_controller.rb
blob: e4227af25d250464f3142908543d7458205578d0 (plain)
1
2
3
4
5
6
7
8
# 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