10 lines
258 B
Ruby
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
|