Skip to content

Easier configuration of automatic redirects #63

@loevgaard

Description

@loevgaard

Right now the automatic redirect feature is maybe too complicated: It involves form extensions and javascript. What if we could just enable it by config like so:

setono_sylius_redirect:
    automatic_redirects:
        - 'sylius.product_translation'
        - 'sylius.taxon_translation'

where sylius.product_translation and sylius.taxon_translation are the resources defined by Sylius.

Of course this would create more redirects than necessary, but if people have implemented the cronjob to remove redirects that aren't accessed, that wouldn't be a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions