Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

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

Open
bengourley opened this issue Oct 15, 2012 · 3 comments
Open

Comments

@bengourley
Copy link
Collaborator

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?

@serby
Copy link
Owner

serby commented Oct 16, 2012

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

@bengourley
Copy link
Collaborator Author

@serby is this fixed?

@serby
Copy link
Owner

serby commented Nov 13, 2012

You tell me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants