lib/lookbook/engine.rb in lookbook-1.0.7 vs lib/lookbook/engine.rb in lookbook-1.0.8
- old
+ new
@@ -172,10 +172,10 @@
ws
end
end
def websocket_mount_path
- "#{mounted_path}#{config.lookbook.cable_mount_path}" if websocket?
+ "#{mounted_path}#{config.lookbook.cable_mount_path}".gsub("//", "/") if websocket?
end
def websocket?
websocket.present?
end