mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
s/skip_before_filter/skip_before_action/
`skip_before_filter` was deprecated in Rails 4.2 and removed in Rails 5.1 in favor of `skip_before_action`.
This commit is contained in:
parent
32764d9498
commit
ca32024268
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module Users
|
||||
class OmniauthCallbacksController < Devise::OmniauthCallbacksController
|
||||
skip_before_filter :verify_authenticity_token
|
||||
skip_before_action :verify_authenticity_token
|
||||
skip_authorization_check
|
||||
|
||||
User.omniauth_providers.each do |provider|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue