Allow to launch RS apps from dashboard
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user