diff options
author | mr <mr@mrautenberg.de> | 2011-05-02 15:36:53 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-05-02 15:36:53 +0200 |
commit | 03329e15db879c12808e6a10f666a35d86459519 (patch) | |
tree | c2c07387f08a5df82ae3e37803a1d046f19ff0ce /application.rb | |
parent | 50a53447706ff6eedd56ca9beb136f1acaf5faf1 (diff) |
link to excel csv help on upload error
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 99a84c6..e24a76a 100644 --- a/application.rb +++ b/application.rb @@ -239,7 +239,7 @@ post '/models' do # create a new model File.rename(params[:file][:tempfile].path, excel_file) # add extension, spreadsheet does not read files without extensions @dataset.load_spreadsheet(Excel.new excel_file, subjectid) if @dataset.metadata[OT.Errors] - error "Incorrect file format. Please follow the instructions for #{link_to "Excel", "/excel_format"} or #{link_to "CSV", "/csv_format"} formats." + error "Incorrect file format. Please follow the instructions for #{link_to "Excel", "/help"} or #{link_to "CSV", "/help"} formats." end else error "#{params[:file][:filename]} has a unsupported file type." |