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

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -