Skip to content

Redirect to NotFoundRoute #458

@cglantschnig-zz

Description

@cglantschnig-zz

I was trying to redirect my "NotFoundRoute", but I figured out that this is not working as you can see in the example below:

http://jsbin.com/pulomegogi/5/edit

The reason I want to do something like this is if I have a an identifier as part of my URL (for instance an title of an blog article) and when I want to get that single item, but it doesn't exists. Then I would get an answer from the server, that this specific item does not exists. So I want to redirect to an NotFoundRoute.

Now my question: Should I use a normal Route for something like that? Or is there already another possibility I could not find here?

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