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?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.