diff options
author | Jonne Haß <me@jhass.eu> | 2020-03-12 15:49:14 +0300 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2020-03-20 14:38:27 +0300 |
commit | 2d28ddc1ef3cb54002118856f27601afd091f875 (patch) | |
tree | adc56088617eda341c0e40a01f55bb348ed2b498 /config | |
parent | 6278925ce2a77d9c19721aca9c3cafc81c5cb2d3 (diff) |
Add API route to (un)block a user
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 4651d6db6..9e6cad3f1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -255,6 +255,8 @@ Rails.application.routes.draw do get :contacts get :photos get :posts + post :block + delete :block end resources :tag_followings, only: %i[index create destroy] get "search/users" => "search#user_index", :as => "user_index" |