Skip to content

Redirect to came_from #58

@avoinea

Description

@avoinea

self.request.response.redirect(self.context.absolute_url())
return "redirecting"

Consider redirecting to ?came_from or at least move this code within another method to be able to easily customize/override it.

Another option would be to add a new control panel field to be able to redirect to a custom page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions