Created
February 20, 2014 14:47
-
-
Save endash/9115320 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
this.resource("artists", function () { | |
this.route("index"); | |
this.resource("artist", {path: "/artists/:id"}, function () { | |
this.route('index'); | |
this.resource("albums", function () { | |
this.route("index"); | |
this.resource("album", {path: "/albums/:id"}, function () { | |
this.route('index'); | |
this.resource("tracks", function () { | |
this.route('index'); | |
this.resource('track', {path: "/tracks/:id"}, function () { | |
this.route('index'); | |
}) | |
}) | |
}) | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment