summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-25 11:58:20 -0500
committerPeter Kozak <spag@golwen.net>2013-02-25 11:58:20 -0500
commitdca264b22845b7875b9493c17cc185e809372cc1 (patch)
tree3fc116ec71e0ddf375fcd83b75689d94c3cf905f
parentc6d5308480df11e3ebc829a3fa7df8f0453c9630 (diff)
use dialplan ringtone as default
-rw-r--r--app/controllers/ringtones_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/ringtones_controller.rb b/app/controllers/ringtones_controller.rb
index f726650..e5a4f64 100644
--- a/app/controllers/ringtones_controller.rb
+++ b/app/controllers/ringtones_controller.rb
@@ -15,6 +15,7 @@ class RingtonesController < ApplicationController
def new
@ringtone = @parent.ringtones.build
+ @ringtone.bellcore_id = GsParameter.get('default_ringtone', 'dialplan', 'parameters')
end
def create