mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
fix import for csv
This commit is contained in:
parent
76902e95c0
commit
a31c0a7a5d
5 changed files with 41 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue