Skip to content

action_interceptor overrides rails redirect_back with a different behavior #42

@grdmnt

Description

@grdmnt

Fineprint has action_interceptor as a dependency and it's overriding rails' redirect_back method which behaves differently than what rails is now. This can be replicated by having action_interceptor in your gemfile and running redirect_back without considering action_interceptor's way of using redirect_back.

Once I added store_fallback which is a method from action_interceptor, it worked as intended from action_interceptor's implementation.

Would there be a way to only use action_interceptor isolated within the fine_print gem? Or did I miss an install step that does this? It would be best if we can avoid overriding action_interceptor within the application's controller.

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