summaryrefslogtreecommitdiff
path: root/lib/api/snippets.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-26 12:05:18 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-30 11:40:51 +0200
commit0f593b1c579c272f681696b96a8fc6aa32342ae6 (patch)
treee208c60558ff3cefc75a8551a3d3804379344162 /lib/api/snippets.rb
parent507e3fbca30441983322c37408988b6a49f0acc5 (diff)
downloadgitlab-ce-0f593b1c579c272f681696b96a8fc6aa32342ae6.tar.gz
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.
Diffstat (limited to 'lib/api/snippets.rb')
0 files changed, 0 insertions, 0 deletions