lib/async_cable/server.rb in async_cable-0.2.0 vs lib/async_cable/server.rb in async_cable-0.2.1
- old
+ new
@@ -39,11 +39,9 @@
# We transform it to hash because we don't want to break other middleware logic.
response[1] = response[1].to_a.to_h if !response.nil? && !response[1].is_a?(Hash)
response || [400, { 'Content-Type' => 'text/plain' }, ['Not valid ws']]
end
- private
-
def logger
AsyncCable.config.logger
end
end
end