Parcourir la source

Use skip_action_callback instead of skip_filter

Andrew Kane il y a 8 ans
Parent
commit
028db7c31b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/controllers/blazer/base_controller.rb

+ 1 - 1
app/controllers/blazer/base_controller.rb

@@ -1,7 +1,7 @@
 module Blazer
   class BaseController < ApplicationController
     # skip all filters
-    skip_filter *_process_action_callbacks.map(&:filter)
+    skip_action_callback *_process_action_callbacks.map(&:filter)
 
     protect_from_forgery with: :exception