Routes

Hello, I am new to ruby.Can someone tell me what do i need to write in the routes.rb so that i can use the following to edit a record.

form_for :organisation,:url=>organisation_path(@organisation),:html=>{:method=>'put'} do>org>

Thank you.

map.resources :organisations

Whoops, a bit trigger happy there!

Also this is helpful: http://topfunky.com/clients/peepcode/REST-cheatsheet.pdf