API for blocking and unblocking
This commit is contained in:
		| @@ -74,6 +74,8 @@ Rails.application.routes.draw do | ||||
|  | ||||
|           post :follow | ||||
|           post :unfollow | ||||
|           post :block | ||||
|           post :unblock | ||||
|         end | ||||
|       end | ||||
|     end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user