-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from andela/hotfix-routes-167474497
#167474497 Routes hotfix
- Loading branch information
Showing
7 changed files
with
33 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import authRoutes from './auth.route'; | ||
import userRoutes from './user.route'; | ||
import articleRoutes from './article.route'; | ||
import ratingRoutes from './rating.route'; | ||
import searchRoute from './search.route'; | ||
import noitificationsRoute from './notification.route'; | ||
import tagRoutes from './tag.route'; | ||
|
||
export default app => { | ||
app.use('/auth', authRoutes); | ||
app.use('/api/v1/auth', authRoutes); | ||
app.use('/api/v1/users', userRoutes); | ||
app.use('/api/v1/auth', userRoutes); | ||
app.use('/api/v1/articles', articleRoutes); | ||
app.use('/api/v1/articles', ratingRoutes); | ||
app.use('/api/v1', searchRoute); | ||
app.use('/api/v1/search', searchRoute); | ||
app.use('/api/v1/notifications', noitificationsRoute); | ||
app.use('/api/v1/tags', tagRoutes); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters