Legacy routes with Rails 3.0.7

I apologize for the cross post from railsforums.com, I didn’t realize
this google group was the official community forum.

I have a very old Rails app (1.1.6) that I would like to upgrade to
3.0.7 (latest stable). The site is about 75% non-model based content,
and so upgrading to resource based routes doesn’t make a lot of sense
to me. At least for the short term, I would like to stick with the
legacy route format of :controller/:action/:id

I generated a completely new Rails app from scratch, and will be
importing models/views/controllers from the old app as I go along.

The only change I’ve made to the config/routes.rb file is to uncomment
the line for legacy routes, which now reads:

 match ':controller(/:action(/:id(.:format)))'

I kick on a server w/ ‘rails server’ and visit the site, but get
routing errors. Specifically, if I go to /news/index, I get the
following error in the log:

ActionController::RoutingError (No route matches "/news/index"):

I feel like I am missing something obvious, but have been stumbling on
this for a while now. Any suggestions?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs