Last active
December 18, 2015 18:28
-
-
Save davidjbeveridge/5825556 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
class Card extends Spine.Model | |
@configure 'Card', 'id', "name", "parent_id", "lft", "rgt", | |
"high_person_week", "created_at", "updated_at", "project_id", | |
"low_person_week", "type", "data" | |
@extend Spine.Model.Ajax | |
@url: '/cards' | |
url: -> "/projects/#{@project_id}/cards/#{@id}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment