ressource/1?delete
This will render the method renderHtmlDelete() where you put a form
which will have a form which will call a HTTP DELETE and call the
compontents DELETE()-method.
But how would you restore a deleted ressource again? Will you do like
this?
ressource/1?restore
But what should the proper HTTP REST be now?
I guess I would use a POST request. Essentially, you're updating an
existing resource here. The resource just happens to be in a deleted
state. The restore-subview makes good sense to me.
--
troels