• Bob Van Landuyt's avatar
    Define custom base controller for Doorkeeper · 0f593b1c
    Bob Van Landuyt authored
    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.
    0f593b1c
base_doorkeeper_controller.rb 227 Bytes