Skip to content

[Doc feedback] Controllers #3139

Description

@pwizla

Page: Controllers

Selected text:

Core mapping is automatic: when you generate a content-type, Strapi creates the matching controller and a router file that already targets the standard actions (find, findOne, create, update, and delete). Overriding any of these actions inside the generated controller does not require touching the router — the route keeps the same handler string and executes your updated logic.
Feedback:
I don't understand how core mapping works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions