I've scouring for a bit, but can't find an answer to this. I've got an Ember route on a Rails app, and I would like one of the model records to be displayed by default when visiting the URL (right now, a user needs to click on a specific link to retrieve the data).
For example, when visiting /albums, I would like /albums/38 to be active and visible without forcing a redirect. Is that possible?
Thanks
App.Router.map ->
@resource 'albums', path: '/', ->
@resource 'album', path: '/:id'
App.AlbumsRoute = Ember.Route.extend
model: -> @store.find 'album'