# Trailing slashes in URLs causing routing errors in 2.3.0 RC1

**URL:** <https://www.ruby-forum.com/t/trailing-slashes-in-urls-causing-routing-errors-in-2-3-0-rc1/161014>\
**Category:** Rails\
**Created:** [February 22, 2009, 11:39am UTC](https://www.ruby-forum.com/t/trailing-slashes-in-urls-causing-routing-errors-in-2-3-0-rc1/161014 "2009-02-22T11:39:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wincent\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@Wincent\_C](https://www.ruby-forum.com/u/Wincent_C)\
**Post date:** [February 22, 2009, 11:39am UTC](https://www.ruby-forum.com/t/trailing-slashes-in-urls-causing-routing-errors-in-2-3-0-rc1/161014/1 "2009-02-22T11:39:55Z")

</div>

I just noticed that after updating an app to 2.3.0 RC1 (from 2.2.2)  
Rails now raises routing errors when it sees a trailing slash on the  
end of URLs for resources defined using the “:as” option.

eg. given a resource like this:

```
 map.resources :articles, :as => :wiki

```

Accessing “/wiki” works, but trying “/wiki/” does not. (Both used to  
work in 2.2.2.)

With a resource that doesn’t use an “:as” setting:

```
map.resources :posts

```

Both “/posts” and “/posts/” work as they did before.

Anybody else seen this? Could it be a bug?

Cheers,  
Wincent

---

<div class="post-metadata">

**Author:** ![Wincent\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@Wincent\_C](https://www.ruby-forum.com/u/Wincent_C)\
**Post date:** [February 22, 2009, 11:58am UTC](https://www.ruby-forum.com/t/trailing-slashes-in-urls-causing-routing-errors-in-2-3-0-rc1/161014/2 "2009-02-22T11:58:38Z")

</div>

Created Lighthouse ticket to track the regression:

[http://rails.lighthouseapp.com/projects/8994/tickets/2039](http://rails.lighthouseapp.com/projects/8994/tickets/2039)
