move to evented mustache system
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
require 'simply_stored/couch'
|
||||
module ModelBroadcast
|
||||
def broadcast_supplier(*args)
|
||||
ApplicationController.new.send(:broadcast_supplier, *args)
|
||||
end
|
||||
def broadcast_user(*args)
|
||||
ApplicationController.new.send(:broadcast_user, *args)
|
||||
end
|
||||
end
|
||||
SimplyStored::Couch.send(:include, ModelBroadcast)
|
||||
SimplyStored::Couch.send(:extend, ModelBroadcast)
|
||||
Reference in New Issue
Block a user