This commit is contained in:
Benjamin Myara
2018-09-03 14:10:45 +01:00
parent ebdad02216
commit 480fbbdbfb
6 changed files with 28 additions and 3 deletions

View File

@@ -42,6 +42,6 @@ Rails.application.routes.draw do
patch '/users/:id', to: 'users#update'
delete '/users/:id', to: 'users#destroy'
resources :connections, only: [:create, :new]
resources :connections, only: [:create, :new, :destroy]
#get '/add_contact', to: 'connections#create'
end