Clean up the cable meta tag

to avoid a "//" appearing in the path.
This commit is contained in:
Mike Dalessio
2025-07-03 01:47:10 -04:00
parent 78a4a07214
commit 02ec9d436a
+1 -1
View File
@@ -2,6 +2,6 @@ module TenantingHelper
def tenanted_action_cable_meta_tag
tag "meta",
name: "action-cable-url",
content: [ request.script_name, ActionCable.server.config.mount_path ].join("/")
content: "#{request.script_name}#{ActionCable.server.config.mount_path}"
end
end