Feat: add and edit contact in frontend

This commit is contained in:
canove
2020-07-23 18:09:45 -03:00
parent b20ed4c8db
commit 6d4e2a60a9
6 changed files with 104 additions and 33 deletions

View File

@@ -11,6 +11,6 @@ routes.get("/contacts/:contactId", isAuth, ContactController.show);
routes.post("/contacts", isAuth, ContactController.store);
// routes.put("/contacts/contactId", isAuth, ContactController.index);
routes.put("/contacts/:contactId", isAuth, ContactController.update);
module.exports = routes;