lib/lookbook/engine.rb in lookbook-0.3.2 vs lib/lookbook/engine.rb in lookbook-0.3.3
- old
+ new
@@ -91,9 +91,13 @@
@websocket
end
end
+ def websocket_mount_path
+ "#{Lookbook::Engine.routes.find_script_name({})}#{cable.mount_path}"
+ end
+
def cable
@cable ||= ActionCable::Server::Configuration.new
end
def parser