Skip to content

Improve form success redirections to keep previous filters used #490

Description

@nicolas-brousse

The idea is to keep the filters or page where the user was before he goes to a create/update form.

Suggestion: Using the referer. Having a hidden field tag helper that will use existing form_redirect_to redirect_to_on_success param.
If params[:redirect_to_on_success] present, then use it value, otherwise use the request.referer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions