asegurarse que la protección csfr se realiza primero #239 #238 #237 #232

This commit is contained in:
f 2021-02-10 19:32:48 -03:00
parent c0084d5d1f
commit 77e71f6a66

View file

@ -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?