emberjs/ember.js — pull request #969 by bradleypriest (2012-06-07 13:41:10+00:00)
Title: Dynamic routes vs Static segments.

Currently when I try and access a route which has multiple possibilities, it seems to always use dynamic segments.

```
posts: Ember.State.create({
route: 'posts',

new: Ember.State.create({
route: 'new'
}),

post: Ember.State.create({
route: ':post_id'
})
})
```

`/posts/new` seems to currently match 'posts.post' with a `post_id` of `new`

I have attached a failing test, but I don't know where I'd start to look for a fix.

Cheers,
Brad