Update routing to Rails 3.2

I don't know if someone besides me still uses this, but this change is necessary when using Rails 3.2.