summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/ringtone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ringtone.rb b/app/models/ringtone.rb
index 45ecd93..2b08c9f 100644
--- a/app/models/ringtone.rb
+++ b/app/models/ringtone.rb
@@ -24,6 +24,6 @@ class Ringtone < ActiveRecord::Base
belongs_to :ringtoneable, :polymorphic => true
def to_s
- self.bellcore_id.to_s
+ CORE_RINGTONES_AVAILABLE.index(self.bellcore_id)
end
end