ember.js - Assertion Failed, ember routes with dynamic id -
I try to prepare a web app with amber, I use a routing model: post_id but that Does not work: works and displays a list, but the link to # post / 11330 is not working, error: prohibition failed?
What am I doing?
your router map
App.Router.map (function () Change to {this.route ("Page"); this.route ("Menu");) Resources ('Post', Function) (This Resource ('Post', {path: '/: post_id'});}}; This.route ("index", {path: "/"}); This.route ("cat"); This.route ("photo");});
Comments
Post a Comment