Allow to launch RS apps from dashboard
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Râu Cao
2023-11-19 19:10:13 +01:00
parent 713e91a720
commit aa399b862a
7 changed files with 54 additions and 53 deletions

View File

@@ -33,7 +33,8 @@ Rails.application.routes.draw do
resource :storage, controller: 'remotestorage', only: [:show] do
resources :rs_auths, only: [:destroy] do
member do
get 'revoke', to: 'rs_auths#destroy'
get :revoke, to: 'rs_auths#destroy'
get :launch_app
end
end
end
@@ -86,7 +87,6 @@ Rails.application.routes.draw do
resource :oauth, only: [:new, :create], path_names: {
new: ':username', create: ':username'
}, controller: 'oauth'
get 'oauth/token/:id/launch_app' => 'oauth#launch_app', as: :launch_app
end
get '.well-known/webfinger', to: 'webfinger#show'