Make #1831 work
This commit is contained in:
parent
49da6156a0
commit
058a63a0de
|
@ -22,6 +22,10 @@ module Middleman
|
||||||
app.subscribe_to_callbacks(&method(:execute_callbacks))
|
app.subscribe_to_callbacks(&method(:execute_callbacks))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def include(mod)
|
||||||
|
self.extend(mod)
|
||||||
|
end
|
||||||
|
|
||||||
def helpers(*helper_modules, &block)
|
def helpers(*helper_modules, &block)
|
||||||
helper_modules ||= []
|
helper_modules ||= []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue