app/controllers/knitkit/erp_app/desktop/theme_controller.rb in knitkit-2.1.0 vs app/controllers/knitkit/erp_app/desktop/theme_controller.rb in knitkit-2.1.1

- old
+ new

@@ -71,11 +71,9 @@ def export theme = Theme.find(params[:id]) zip_path = theme.export send_file(zip_path.to_s, :stream => false) rescue raise "Error sending #{zip_path} file" - ensure - FileUtils.rm_r File.dirname(zip_path) rescue nil end def change_status begin current_user.with_capability('view', 'Theme') do