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
def self.inherited(subclass)
self.subclasses << subclass
subclass.before_filters.push(*self.before_filters)
subclass.after_filters.push(*self.after_filters)
end
def self.subclasses