Skip to content

Add prependRoute method #13

Open
Open
@thorewi

Description

@thorewi

Hi,

in ErrorPresenter I create catchall route looking like this [<url .*>] to get {link this} or {link 404!} working in the error template. But I need to prepend it to avoid the request being consumed by another route (looking like this <presenter>/<action>[/<id>] for example). I need to avoid using Route constructor that's why I can't use prepend method which needs it (every RouteList can use different Route class). I need to create the route in a way addRoute method is doing this. If you think it is a good idea, I can create PR. Thank you.

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