Define custom base controller for Doorkeeper
Since we only need the `can?` view helpers there, it's better to
include those in a separate controller.
If we inherit from `ApplicationController` we also need to deal with
authentication, that needs to be done in some, but not all doorkeeper controllers.
Showing
lib/gitlab/base_doorkeeper_controller.rb
0 → 100644
Please
register
or
sign in
to comment