summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-27 16:57:44 -0500
committerPeter Kozak <spag@golwen.net>2013-02-27 16:57:44 -0500
commit477fcf8bce7dff84bb11fa79a4ad4f106d1ec8ad (patch)
treeb7568b57f95534fe15fdb0550939b36b11466cdb /app
parentbd6c11cb371c614e66922290fb239cec04eb67ea (diff)
use call model for tel: url binding
Diffstat (limited to 'app')
-rw-r--r--app/controllers/sip_accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sip_accounts_controller.rb b/app/controllers/sip_accounts_controller.rb
index 621bd3c..27d464f 100644
--- a/app/controllers/sip_accounts_controller.rb
+++ b/app/controllers/sip_accounts_controller.rb
@@ -11,7 +11,7 @@ class SipAccountsController < ApplicationController
end
def show
- @register_tel_protocol = "#{request.protocol}#{request.host_with_port}/sip_accounts/#{@sip_account.try(:id)}/call?url=%s"
+ @register_tel_protocol = "#{request.protocol}#{request.host_with_port}/sip_accounts/#{@sip_account.try(:id)}/calls/new?url=%s"
end
def new