Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Change before_filter to before_action #236

Open
mehtaparitosh opened this issue Apr 13, 2018 · 1 comment
Open

Change before_filter to before_action #236

mehtaparitosh opened this issue Apr 13, 2018 · 1 comment

Comments

@mehtaparitosh
Copy link

I'm Getting an error in Rails 5
There was an error while trying to load the gem 'devise_security_extension'.
Gem Load Error is: undefined method `before_filter' for ActionController::Base:Class
Did you mean? before_action

I am unable to use this Gem

I can do it, tell me how

@sherllochen
Copy link

That has been fixed by merge some PR. But haven't update in RubyGems, so you can instal it from git to use the latest version.

gemfile

gem 'devise_security_extension', git: 'https://github.com/phatworx/devise_security_extension.git'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants