Remove debugger lines
This commit is contained in:
parent
97c69097cd
commit
ec2909df60
@ -6,8 +6,6 @@ module MemberFilter
|
|||||||
|
|
||||||
filters = params.permit(:prefers_postal, :display_name, :legal_name, :email, :identification_number, status: [], category: [])
|
filters = params.permit(:prefers_postal, :display_name, :legal_name, :email, :identification_number, status: [], category: [])
|
||||||
|
|
||||||
Rails.logger.info filters
|
|
||||||
|
|
||||||
status = filters.fetch(:status, []) - ['any', '']
|
status = filters.fetch(:status, []) - ['any', '']
|
||||||
category = filters.fetch(:category, []) - ['any', '']
|
category = filters.fetch(:category, []) - ['any', '']
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ module Letters
|
|||||||
Zip::OutputStream.write_buffer do |out|
|
Zip::OutputStream.write_buffer do |out|
|
||||||
Zip::File.open(io) do |zip|
|
Zip::File.open(io) do |zip|
|
||||||
zip.each do |entry|
|
zip.each do |entry|
|
||||||
pp entry.name
|
|
||||||
out.put_next_entry(entry.name)
|
out.put_next_entry(entry.name)
|
||||||
if entry.name == "content.xml"
|
if entry.name == "content.xml"
|
||||||
out.write apply_template_xml(entry.get_input_stream.read, params)
|
out.write apply_template_xml(entry.get_input_stream.read, params)
|
||||||
|
Loading…
Reference in New Issue
Block a user