Created
July 9, 2014 11:29
-
-
Save apaleslimghost/496133bf6ddae79e1bc8 to your computer and use it in GitHub Desktop.
what resourceful routes look like in sodor
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
{root, post, put, delete} = require \sodor | |
module.exports = | |
index: root -> | |
new: -> | |
create: post root -> | |
show: root (id)-> | |
edit: (id)-> | |
update: put root (id)-> | |
destroy: delete root (id)-> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment