Commit 3215f410 authored by Jan Provaznik's avatar Jan Provaznik

Rename before_filter to before_action

before_filter is deprecated in Rails 5, we should rather
use before_action
parent afb9586b
class Groups::OmniauthCallbacksController < OmniauthCallbacksController class Groups::OmniauthCallbacksController < OmniauthCallbacksController
extend ::Gitlab::Utils::Override extend ::Gitlab::Utils::Override
skip_before_filter :verify_authenticity_token, only: [:failure, :group_saml] skip_before_action :verify_authenticity_token, only: [:failure, :group_saml]
def group_saml def group_saml
@unauthenticated_group = Group.find_by_full_path(params[:group_id]) @unauthenticated_group = Group.find_by_full_path(params[:group_id])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment