Created
July 9, 2014 18:26
-
-
Save henryboldi/affd73f10d46727aa540 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
'GET /api/notifications': 'NotificationController.show', | |
'GET /api/hacks/recent': 'HacksController.recent', | |
'GET /api/hacks/recent/:id': 'HacksController.recent', | |
'GET /api/hacks/popular': 'HacksController.popular', | |
'GET /api/hacks/following': 'HacksController.following', | |
'POST /api/login': 'SessionController.create', //done | |
'POST /api/logout': 'SessionController.destroy', //done | |
'GET /api/accounts/users/:id': 'UserController.get', //done | |
'PUT /api/accounts/users': 'UserController.update', //done | |
'POST /api/accounts/users/:id/followers': 'FollowController.create', //follow someone | |
'DELETE /api/accounts/users/:id/followers': 'FollowController.destroy',//done | |
'GET /api/accounts/users/:id/followers': 'UserController.followers', //done | |
'GET /api/accounts/users/:id/following': 'UserController.following', //done | |
'GET /api/accounts/users/:id/hacks': 'UserController.userHacks', //done | |
'POST /api/accounts/users': 'UserController.create', //done | |
'PUT /api/accounts/users/:id': 'UserController.update', //done | |
// 'DELETE /api/accounts/users/:id': 'UserController.destroy', | |
// should be more on startups | |
'GET /api/hacks/:id': 'HacksController.get', //done | |
'GET /api/hacks': 'HacksController.getAll', //done | |
'POST /api/hacks': 'HacksController.uploadAction', //done | |
// 'DELETE /api/hacks/:id': 'HacksController.destroy', | |
'POST /api/hacks/:id/comments': 'CommentController.create', //done | |
'GET /api/hacks/:id/comments': 'HacksController.comments', //done | |
'POST /api/hacks/:id/likes': 'LikeController.create', //done | |
'GET /api/hacks/:id/likes': 'HacksController.likes', //sone | |
'DELETE /api/hacks/:id/likes': 'LikeController.destroy', //done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment