lib/volt/models/store.rb in volt-0.4.7 vs lib/volt/models/store.rb in volt-0.4.8

- old
+ new

@@ -34,10 +34,10 @@ end def change_channel_connection(add_or_remove) if attributes && path.size > 1 channel_name = "#{path[-2]}##{attributes[:_id]}" - $page.tasks.call('ChannelTasks', "#{add_or_remove}_listener", channel_name) + @tasks.call('ChannelTasks', "#{add_or_remove}_listener", channel_name) end end def self.update(model_id, data) model = @@identity_map[model_id] \ No newline at end of file