lib/simple_admin/builder.rb in simple_admin-0.1.0 vs lib/simple_admin/builder.rb in simple_admin-0.2.1
- old
+ new
@@ -29,7 +29,10 @@
options[:actions] -= options[:except] if options[:except]
options[:actions] &= options[:only] if options[:only]
@interface.before << options
end
+ # Comfort the masses
+ alias_method :before_filter, :before
+
end
end