Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
This repository was 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

@bengourley

Description

@bengourley

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions