lib/faye_shard/shard.rb in faye_shards-0.1.0 vs lib/faye_shard/shard.rb in faye_shards-0.1.1

- old
+ new

@@ -22,11 +22,13 @@ "http#{secured ? 's' : ''}://#{configuration["host"]}:#{port}/faye" end # Returns default client JS url # - def js_url - url + '.js' + # * <tt>https</tt>:: Specifies whether to use SSL connection or not + # + def js_url(https = false) + url(https) + '.js' end # Local url, needed for RoR <-> Faye communication # def local_url