From 77e71f6a66c2e73ab33dc10b94e9a52f6d05c5de Mon Sep 17 00:00:00 2001 From: f Date: Wed, 10 Feb 2021 19:32:48 -0300 Subject: [PATCH] =?UTF-8?q?asegurarse=20que=20la=20protecci=C3=B3n=20csfr?= =?UTF-8?q?=20se=20realiza=20primero=20#239=20#238=20#237=20#232?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2f09ceab..9893daa6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -4,7 +4,7 @@ class ApplicationController < ActionController::Base include ExceptionHandler - protect_from_forgery with: :exception + protect_from_forgery with: :exception, prepend: true before_action :prepare_exception_notifier before_action :configure_permitted_parameters, if: :devise_controller?