{"action":"created","issue":{"url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/99","labels_url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/99/comments","events_url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/99/events","html_url":"https://github.com/ember-addons/bootstrap-for-ember/issues/99","id":29491181,"number":99,"title":"some examples for dynamic links pls?","user":{"login":"ecoli1","id":6959192,"avatar_url":"https://avatars.githubusercontent.com/u/6959192?v=3","gravatar_id":"","url":"https://api.github.com/users/ecoli1","html_url":"https://github.com/ecoli1","followers_url":"https://api.github.com/users/ecoli1/followers","following_url":"https://api.github.com/users/ecoli1/following{/other_user}","gists_url":"https://api.github.com/users/ecoli1/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoli1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoli1/subscriptions","organizations_url":"https://api.github.com/users/ecoli1/orgs","repos_url":"https://api.github.com/users/ecoli1/repos","events_url":"https://api.github.com/users/ecoli1/events{/privacy}","received_events_url":"https://api.github.com/users/ecoli1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-03-15T11:47:22Z","updated_at":"2015-01-12T12:04:35Z","closed_at":null,"body":"the showcase doesnt show an example for linking to routes with dynamic links.\r\n\r\nlets say i got some pills as nav:\r\n```\r\n{{bs-pills contentBinding=\"nav\" selectedBinding=\"selected\" stacked=true style=\"max-width: 300px;\"}}\r\n```\r\n\r\nand the linked property:\r\n```\r\nApp.ApplicationController = Ember.Controller.extend({\r\n    init: function() {\r\n        this._super();\r\n        this.set('nav', Ember.A([\r\n            Ember.Object.create({title: 'Statistics', linkTo: 'content.stats', href: '#!/stats'}),\r\n        ]));\r\n        //this.set('selected', this.get('nav').objectAt(0));\r\n    },\r\n});\r\n````\r\n\r\nhow do i link to a ContentRoute that uses a slug or a post_id for example?\r\n\r\nthe nav needs to end up to my ContentRoute that looks like this '/:slug'\r\n```\r\nApp.ContentRoute = Ember.Route.extend({\r\n    model: function(params) {\r\n        return $.when($.ajax({\r\n            url: u + 'as' + params.slug\r\n        })).then(function(d) {\r\n            var model = {};\r\n            model.html = d;\r\n            return model;\r\n        });\r\n    }\r\n});\r\nApp.Router.map(function() {\r\n    this.resource('content', { path: '/:slug' });\r\n});\r\n```\r\n\r\nit doesnt seem to be possible..?\r\n\r\nthanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/comments/69560733","html_url":"https://github.com/ember-addons/bootstrap-for-ember/issues/99#issuecomment-69560733","issue_url":"https://api.github.com/repos/ember-addons/bootstrap-for-ember/issues/99","id":69560733,"user":{"login":"hglattergotz","id":506901,"avatar_url":"https://avatars.githubusercontent.com/u/506901?v=3","gravatar_id":"","url":"https://api.github.com/users/hglattergotz","html_url":"https://github.com/hglattergotz","followers_url":"https://api.github.com/users/hglattergotz/followers","following_url":"https://api.github.com/users/hglattergotz/following{/other_user}","gists_url":"https://api.github.com/users/hglattergotz/gists{/gist_id}","starred_url":"https://api.github.com/users/hglattergotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hglattergotz/subscriptions","organizations_url":"https://api.github.com/users/hglattergotz/orgs","repos_url":"https://api.github.com/users/hglattergotz/repos","events_url":"https://api.github.com/users/hglattergotz/events{/privacy}","received_events_url":"https://api.github.com/users/hglattergotz/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T12:04:35Z","updated_at":"2015-01-12T12:04:35Z","body":"@ecoli1, @alesvaupotic What did you guys end up using instead of this?"}}