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.
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 usingRouteconstructor that's why I can't useprependmethod which needs it (every RouteList can use different Route class). I need to create the route in a wayaddRoutemethod is doing this. If you think it is a good idea, I can create PR. Thank you.