BigW Consortium Gitlab

Skip to content
  • Bob Van Landuyt's avatar
    0f593b1c
    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
    Define custom base controller for Doorkeeper
    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.
Loading