Created
May 19, 2011 16:44
-
-
Save ritch/981203 to your computer and use it in GitHub Desktop.
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
hive | |
.at('/tweets') | |
//http://hello-world.dev/tweets/?limit=24 | |
.find('/', hive.queries.tweets) | |
//http://hello-world.dev/tweets/:id | |
.find('/detail/:id', hive.models.tweet) | |
//http://hello-world.dev/tweets/new | |
.post('/new', hive.models.tweet) | |
//http://hello-world.dev/tweets/delete/:id | |
.delete('/delete/:id', hive.models.tweet); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment