Fixes #3287 - Can't delete Applications (OAuth Authentication).

This commit is contained in:
Thorsten Eckel 2020-11-17 15:04:47 +01:00
parent 97526c121c
commit c46b689405

View file

@ -5,6 +5,7 @@ Zammad::Application.routes.draw do
match api_path + '/applications/:id', to: 'applications#show', via: :get match api_path + '/applications/:id', to: 'applications#show', via: :get
match api_path + '/applications', to: 'applications#create', via: :post match api_path + '/applications', to: 'applications#create', via: :post
match api_path + '/applications/:id', to: 'applications#update', via: :put match api_path + '/applications/:id', to: 'applications#update', via: :put
match api_path + '/applications/:id', to: 'applications#destroy', via: :delete
match api_path + '/applications/token', to: 'applications#token', via: :post match api_path + '/applications/token', to: 'applications#token', via: :post
# oauth2 provider routes # oauth2 provider routes