diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-07 21:09:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 21:09:54 +0200 |
commit | 6b9e03e002ed349fd8b7e2879d599bb75a698eb2 (patch) | |
tree | 95274f35902ac1e997e7bb43ca36e78be89496e2 /config | |
parent | ef2bcf51d70b035407dffed8c40efee999f18115 (diff) |
Add API method to remove a suggestion (#7978)
DELETE /api/v1/suggestions/:account_id When blocking, remove suggestion from both sides. Muting not affected, since muting is supposed to be invisible to the target.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e59325964..fd26b4aa7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -246,7 +246,7 @@ Rails.application.routes.draw do resources :streaming, only: [:index] resources :custom_emojis, only: [:index] - resources :suggestions, only: [:index] + resources :suggestions, only: [:index, :destroy] get '/search', to: 'search#index', as: :search |