Skip to content

Catch-all controller action for custom post types #38

@markeasting

Description

@markeasting

Hi Jerome,

Currently we have a minor issue with creating new post types, where we have to specify a new <myPostType>Action() in BlogController. Oftentimes, the methods are exactly the same, simply loading our single.html.twig template.

Would it be possible to add a catch-all method for custom post types? It would greatly reduce duplicate code in our blog controller. I guess this is also closely related to #37.

PS. thanks for creating this bundle, we're having a great time developing our CMS without having the messy project structure of Wordpress 👌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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