ctrl icon indicating copy to clipboard operation
ctrl copied to clipboard

Generic Update Route gets object id from form field, not url param

Open bengourley opened this issue 13 years ago • 3 comments

An issue I found when I didn't realise the _id field was required on a generic view schema was that the update route didn't know what the object's id was. I found this a bit weird, because the id is in the url:

POST /admin/enitity/:id/edit

Is it better to take the id from a hidden form field and not the url?

bengourley avatar Oct 15 '12 12:10 bengourley

I think I fixed this on the plan. I'll be pushing shortly.

serby avatar Oct 16 '12 15:10 serby

@serby is this fixed?

bengourley avatar Nov 13 '12 11:11 bengourley

You tell me.

serby avatar Nov 13 '12 17:11 serby