Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions server/controllers/contact.js

This file was deleted.

32 changes: 0 additions & 32 deletions server/migrations/20181006110739-create-contact.js

This file was deleted.

20 changes: 0 additions & 20 deletions server/models/contact.js

This file was deleted.

4 changes: 0 additions & 4 deletions server/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import User from '../controllers/userController';
import Business from '../controllers/businessController';
import Reviews from '../controllers/reviewsController';
import authLogin from '../middleware/authorize';
import Contact from '../controllers/contact';
import {
verifyInput,
verifyLenght,
Expand Down Expand Up @@ -41,9 +40,6 @@ const routes = (app) => {
res.status(200)
.send('Welcome to the weConnect api');
});
// post contact form
app.post('/api/v1/contact', Contact.addInfo);
app.get('/api/v1/loremdo', Contact.getAllInfo);
};

export default routes;