From ec2909df608d8ce99d0700c9abdf22bb8a4ea4a4 Mon Sep 17 00:00:00 2001 From: Hugo Peixoto Date: Thu, 28 Mar 2024 11:39:00 +0000 Subject: [PATCH] Remove debugger lines --- app/controllers/concerns/member_filter.rb | 2 -- app/lib/letters.rb | 1 - 2 files changed, 3 deletions(-) diff --git a/app/controllers/concerns/member_filter.rb b/app/controllers/concerns/member_filter.rb index 263b7ff..93ecd35 100644 --- a/app/controllers/concerns/member_filter.rb +++ b/app/controllers/concerns/member_filter.rb @@ -6,8 +6,6 @@ module MemberFilter filters = params.permit(:prefers_postal, :display_name, :legal_name, :email, :identification_number, status: [], category: []) - Rails.logger.info filters - status = filters.fetch(:status, []) - ['any', ''] category = filters.fetch(:category, []) - ['any', ''] diff --git a/app/lib/letters.rb b/app/lib/letters.rb index e662191..d9f0d19 100644 --- a/app/lib/letters.rb +++ b/app/lib/letters.rb @@ -7,7 +7,6 @@ module Letters Zip::OutputStream.write_buffer do |out| Zip::File.open(io) do |zip| zip.each do |entry| - pp entry.name out.put_next_entry(entry.name) if entry.name == "content.xml" out.write apply_template_xml(entry.get_input_stream.read, params)