Created
March 16, 2013 19:17
-
-
Save hayksaakian/5177868 to your computer and use it in GitHub Desktop.
routes for a card game
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
# card belongs_to hand and a user | |
# hand belongs_to game | |
# game has_many spaces | |
/hands/:hand_id/cards/:card_id/spaces/:space_id/place?auth_token=TOKEN | |
/cards/:card_id/spaces/:space_id/place?auth_token=TOKEN | |
/cards/:card_id/place?auth_token=TOKEN&space_id=:space_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment