Skip to content

Add draft/published functionality #48

@yepzdk

Description

@yepzdk

Description

Add a published/active boolean (or status enum) to Route (and possibly PointOfInterest). Filter unpublished content from the API and show status in admin with ability to toggle.

Implementation

  • Add a published field to src/Entity/Route.php (and possibly PointOfInterest)
  • Create a Doctrine migration
  • Add an API Platform query extension to filter unpublished content from public API responses
  • Update admin CRUD controllers to show and toggle the published status

Part of #35

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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