Filters inheritance.

This commit is contained in:
Jakub Stastny aka botanicus 2011-03-03 15:55:21 +00:00
parent 8f7e2c0da2
commit d4272cf098

View file

@ -40,6 +40,8 @@ module Ace
class Item class Item
def self.inherited(subclass) def self.inherited(subclass)
self.subclasses << subclass self.subclasses << subclass
subclass.before_filters.push(*self.before_filters)
subclass.after_filters.push(*self.after_filters)
end end
def self.subclasses def self.subclasses