Changes in route definition
resources :model_name_plural
delete
#config/routes
resources :subjects do
member do
get :delete
end
end
#provides all 8 RESTful actions!!
member
routes
:id
for the routeedit
and show
collection
routes
:id
of a record!index
is an obvious collection routenew
& create
, even though they might not appear to be (they don't operate on a
single member)