Fwd: [Rails] routting question

On Thu, Jul 31, 2008 at 6:58 PM, Scott K. <
[email protected]> wrote:

map.resources :compounds

how can i get it to map to http://localhost/compounds/calculator ?

map.resources :compunds, :member => { :calculator => :get }

change :get to be whatever verb you need.


tim

Verbs are:

:get, :post, :put, :delete and :any