Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Update load_and_authorize_resource! "routing error before_filter" #1051

@hungbuijr

Description

@hungbuijr

When i use load_and_authorize_resource in rails 5.2.3. I received an error like "undefined method `before_filter' for ProductsController"

I hope you or your team will solve it in the next version as soon as good for who loved your gem.
Maybe from rails version 5.1 rails removed *_filter methods and replace it with *_action methods or i did something wrong in my project?
Anyone can help me with this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions