summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-13 11:58:17 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-13 11:58:17 +0100
commit7d5aa2333f61ea8a89d52f09f0719e8cd8973c7f (patch)
treeb9fdc227dc787bde3cd4b7924f21abc3c8b74c12
parent8a496ffec7df055d31429076322cb767f1728c44 (diff)
Removed def to_s which was buggy. closes #171
-rw-r--r--app/models/fax_document.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/fax_document.rb b/app/models/fax_document.rb
index be689e2..16fdc70 100644
--- a/app/models/fax_document.rb
+++ b/app/models/fax_document.rb
@@ -48,10 +48,6 @@ class FaxDocument < ActiveRecord::Base
end
end
- def to_s
- name
- end
-
def render_thumbnails
directory = "/tmp/GS-#{GsParameter.get('GEMEINSCHAFT_VERSION')}/fax_thumbnails/#{self.id}"
system('mkdir -p ' + directory)