Skip to content

Commit

Permalink
Fixed sending to client(s) on channel(s) methods. (via tgodniak)
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Aug 3, 2009
1 parent eb01e40 commit ede271e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/juggernaut.rb
Expand Up @@ -181,16 +181,16 @@ def render_for_juggernaut(data, options = {})
juggernaut_needs options, :client_ids
Juggernaut.send_to_clients(data, options[:client_ids])
when :send_to_client_on_channel:
juggernaut_needs options, :client_id, :channels
Juggernaut.send_to_clients_on_channel(data, options[:client_id], options[:channels])
juggernaut_needs options, :client_id, :channel
Juggernaut.send_to_clients_on_channel(data, options[:client_id], options[:channel])
when :send_to_clients_on_channel:
juggernaut_needs options, :client_ids, :channel
Juggernaut.send_to_clients_on_channel(data, options[:client_ids], options[:channel])
when :send_to_client_on_channels:
juggernaut_needs options, :client_ids, :channel
juggernaut_needs options, :client_ids, :channels
Juggernaut.send_to_clients_on_channel(data, options[:client_id], options[:channels])
when :send_to_clients_on_channels:
juggernaut_needs options, :client_ids, :channel
juggernaut_needs options, :client_ids, :channels
Juggernaut.send_to_clients_on_channel(data, options[:client_ids], options[:channels])
end
end
Expand Down

0 comments on commit ede271e

Please sign in to comment.