diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2015-07-11 04:14:12 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2015-07-11 12:19:42 +0300 |
commit | 0ffe513b40bd48c3dcfd13a00213bcd99032b3ab (patch) | |
tree | 23c70848c67b8fba5db12fd71041cdd17ca36a25 /app/helpers | |
parent | 1bf328d29405a1958883cb47e96712f095cc5941 (diff) |
fix jsxc_helper_spec and use new url_to in jsxc_helper
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/jsxc_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/jsxc_helper.rb b/app/helpers/jsxc_helper.rb index 168faf0ed..222763529 100644 --- a/app/helpers/jsxc_helper.rb +++ b/app/helpers/jsxc_helper.rb @@ -3,11 +3,10 @@ module JsxcHelper port = AppConfig.chat.server.bosh.port bind = AppConfig.chat.server.bosh.bind host = AppConfig.pod_uri.host - scheme = AppConfig.pod_uri.scheme unless AppConfig.chat.server.bosh.proxy? return "http://#{host}:#{port}#{bind}" end - return "#{scheme}://#{host}#{bind}" + AppConfig.url_to bind end end |