Clean up the cable meta tag
to avoid a "//" appearing in the path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user