From 7dc4179bf8dd6dd2b629d13b68de08179b0532f6 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 26 Dec 2014 02:37:14 -0600 Subject: [PATCH] quick fix for now, improve later --- app/site_files.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/site_files.rb b/app/site_files.rb index d7ddb439..6ee8f701 100644 --- a/app/site_files.rb +++ b/app/site_files.rb @@ -70,7 +70,9 @@ post '/site_files/upload' do file_upload_response "#{params[:dir]}/#{file[:filename]} is too large, upload cancelled." end if !current_site.okay_to_upload? file - file_upload_response %{#{params[:dir]}#{file[:filename]}: file type (or content in file) is only supported by supporter accounts. Why We Do This} + file_upload_response %{#{params[:dir]}#{file[:filename]}: file type (or content in file) is only supported by supporter accounts.} + # TODO: Better explanation and link. + #supporter accounts. Why We Do This} end end