Replace deprecated xxx_filter methods with xxx_action
[rails.git] / lib / session_persistence.rb
index d4dd1cc1de3aa53a8b2516993aa517382537166f..7d42b71e76f54ffde025fb34056367351e98d1cf 100644 (file)
@@ -25,7 +25,7 @@ module SessionPersistence
 
     # Install filter when we are included
     def included(controller)
-      controller.after_filter :persist_session
+      controller.after_action :persist_session
     end
   end