rails/rails — Issue #4164: Change to the way conflicting routes work
Author: larspind
Created: 2011-12-24 15:04:54+00:00
State: open

If I have the following in my routes.rb

```ruby
resources :models
match 'special' => 'model#new', :as => :new_model
```
then in 3.1, new_model_path would return

```
/special
```

but now it returns

```
/models/new
```

If you reverse their order, it now returns

```
/special
```

but that is a change in behavior from 3.1.

//Lars