From 03329e15db879c12808e6a10f666a35d86459519 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 2 May 2011 15:36:53 +0200 Subject: link to excel csv help on upload error --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application.rb') 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." -- cgit v1.2.3