liquid_rails
2008-Mar-10 05:24 UTC
Cannot route new actions added to a controller in Rails 2.0.2
Does anyone know of a good tutorial on routing for Rails 2.0.2? I
added a new method to one of my controllers and when I point to it by
localhost/:controller/:action, I can''t see it!
In my routes.rb file, I''ve got:
map.connect ":controller/:action"
map.connect ":controller/:action/:id"
and I''ve stopped and restarted the server several times to know avail.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- Restful routes, not repeating yourself and non-standard rest actions best practices
- Routing Error (was: Re: Action Controller: Exception caught)
- Multiple actions for one route (making pretty URLs hit different actions)
- Problems getting file upload to work on rails 2.0.2
- Lost in translation - Rails 2.0 Nested Resources, Custom Actions
