mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-22 22:19:04 +09:00
Merge pull request #83 from kevinmcconnell/main
Avoid extra slash in cable path
This commit is contained in:
@@ -2,6 +2,6 @@ module CableHelper
|
||||
def script_aware_action_cable_meta_tag
|
||||
tag.meta \
|
||||
name: "action-cable-url",
|
||||
content: "#{request.script_name}#{ActionCable.server.config.mount_path}"
|
||||
content: Pathname(request.script_name) + Pathname(ActionCable.server.config.mount_path)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user