Fix glitch-toc route
This commit is contained in:
parent
5a638a9551
commit
b183089a48
2 changed files with 3 additions and 3 deletions
config/routes
|
@ -34,8 +34,8 @@ namespace :api, format: false do
|
|||
|
||||
resources :emoji_reactions, only: [:create, :update, :destroy], constraints: { id: %r{[^/]+} }
|
||||
post :emoji_unreaction, to: 'emoji_reactions#destroy'
|
||||
post :react, to: 'emoji_reactions#create'
|
||||
post :unreact, to: 'emoji_reactions#destroy'
|
||||
post '/react/:id', to: 'emoji_reactions#create', constraints: { id: %r{[^/]+} }
|
||||
post '/unreact/:id', to: 'emoji_reactions#destroy', constraints: { id: %r{[^/]+} }
|
||||
end
|
||||
|
||||
member do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue