Suppose I have a given ember application
App = Ember.Application.create()
Router
App.Router.map(function() { this.resource("posts", function() { this.resource("post", { path: "/:post_id" }) }); });
How to execute a function every time the application enters the given /: post_id?
source share