debian-mirror-gitlab/lib/gitlab/base_doorkeeper_controller.rb
2018-12-13 13:39:08 +05:30

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