Add emoji react api POST method (same PUT)
This commit is contained in:
parent
15bc0df759
commit
d7a251edc9
3 changed files with 10 additions and 6 deletions
|
@ -459,7 +459,7 @@ Rails.application.routes.draw do
|
|||
|
||||
post :translate, to: 'translations#create'
|
||||
|
||||
resources :emoji_reactions, only: :update, constraints: { id: /[^\/]+/ }
|
||||
resources :emoji_reactions, only: [:create, :update], constraints: { id: /[^\/]+/ }
|
||||
post :emoji_unreaction, to: 'emoji_reactions#destroy'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue