fix import for csv

This commit is contained in:
Reinier Balt 2013-09-16 11:37:16 +02:00
parent 76902e95c0
commit a31c0a7a5d
5 changed files with 41 additions and 21 deletions

View file

@ -38,6 +38,10 @@ module Tracks
RedCloth.new(text).to_html
end
def self.sanitize_filename(filename)
filename.gsub(/[^0-9A-z.\-]/, '_')
end
private
def self.helpers