From 2c08df60aeaee64c2e94247f2d1c3de486a96248 Mon Sep 17 00:00:00 2001 From: acrolink Date: Wed, 13 Sep 2017 10:49:06 +0300 Subject: [PATCH] Update cacheable-csrf-token-rails.rb --- lib/cacheable-csrf-token-rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cacheable-csrf-token-rails.rb b/lib/cacheable-csrf-token-rails.rb index 629646b..50f5c33 100644 --- a/lib/cacheable-csrf-token-rails.rb +++ b/lib/cacheable-csrf-token-rails.rb @@ -5,7 +5,7 @@ def self.included(base) ApplicationController.const_set "TOKEN_PLACEHOLDER", "__CROSS_SITE_REQUEST_FORGERY_PROTECTION_TOKEN__" base.class_eval do - after_filter :inject_csrf_token + after_action :inject_csrf_token private def inject_csrf_token