From c6ab5dbe1b68c4134c9d34c680d949642a9bd66e Mon Sep 17 00:00:00 2001 From: rgarcia Date: Sun, 8 Apr 2018 13:59:00 +0200 Subject: [PATCH] Remove before_filter deprecation warning DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /home/travis/build/consul/consul/app/controllers/users/registrations_con troller.rb:3) --- app/controllers/users/registrations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb index 970ed8cba..0270b36c7 100644 --- a/app/controllers/users/registrations_controller.rb +++ b/app/controllers/users/registrations_controller.rb @@ -1,6 +1,6 @@ class Users::RegistrationsController < Devise::RegistrationsController prepend_before_action :authenticate_scope!, only: [:edit, :update, :destroy, :finish_signup, :do_finish_signup] - before_filter :configure_permitted_parameters + before_action :configure_permitted_parameters invisible_captcha only: [:create], honeypot: :address, scope: :user