diff --git a/lib/slimmer/shared_templates.rb b/lib/slimmer/shared_templates.rb
index <HASH>..<HASH> 100644
--- a/lib/slimmer/shared_templates.rb
+++ b/lib/slimmer/shared_templates.rb
@@ -1,7 +1,7 @@
 module Slimmer
   module SharedTemplates
     def self.included into
-      into.before_filter :add_shared_templates
+      into.before_action :add_shared_templates
     end
 
     def add_shared_templates
Replace deprecated `before_filter` calls

`before_filter` is deprecated and will be removed in Rails <I>.