summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-05-30 07:56:38 +0200
committerPeter Kozak <spag@golwen.net>2013-05-30 07:56:38 +0200
commit77646dd34de104f6bf92367fcffdf38994a33a78 (patch)
treeabc3734a445b34e6376c468ef9d6a1a8f9b63536 /app/models
parent50adbb4747ce93594686bf4a0b8193c923f9d129 (diff)
Speeddial added to phone_book_entry
Diffstat (limited to 'app/models')
-rw-r--r--app/models/phone_book_entry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/phone_book_entry.rb b/app/models/phone_book_entry.rb
index 96c8468..2a094f7 100644
--- a/app/models/phone_book_entry.rb
+++ b/app/models/phone_book_entry.rb
@@ -1,7 +1,7 @@
# encoding: UTF-8
class PhoneBookEntry < ActiveRecord::Base
- PHONE_NUMBER_NAMES = ['Phone', 'Office', 'Home', 'Mobile', 'Fax']
+ PHONE_NUMBER_NAMES = ['Phone', 'Office', 'Home', 'Mobile', 'Fax', 'Speeddial']
before_save :run_phonetic_algorithm
before_save :save_value_of_to_s