Created
January 15, 2013 19:40
-
-
Save darthdeus/4541354 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("posts", { path: "/posts" }, function() { | |
this.resource("show", { path: "/:post_id" }); | |
}); | |
this.resource("posts", { path: "/posts" }, function() { | |
this.resource("post", { path: "/:post_id" }); | |
}); | |
this.resource("posts", { path: "/posts" }); | |
this.resource("post", { path: "/posts/:post_id" }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@walter does your posts template have an outlet in it? If not, Ember will find the closest outlet it can, which will be the one in application.