diff --git a/app/controllers/zipdown_controller.rb b/app/controllers/zipdown_controller.rb index 8896da38c..cb4ab3c7a 100644 --- a/app/controllers/zipdown_controller.rb +++ b/app/controllers/zipdown_controller.rb @@ -86,7 +86,7 @@ class ZipdownController < ApplicationController end end if has_file == false - render file: 'public/no_file_fond.html.erb' , :layout => 'course_base' + render file: 'public/no_file_fond.html' , :layout => 'course_base' end zipping "#{Time.now.to_i}_#{bid.name}.zip", user_zip_paths, OUTPUT_FOLDER