Project

General

Profile

Actions

Patch #31046

closed

Remove unused method ApplicationHelper#generate_csv

Added by Go MAEDA about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

ApplicationHelper#generate_csv was added in r14302, but the method has never been used and seems to be doing nothing useful.

Index: app/helpers/application_helper.rb
===================================================================
--- app/helpers/application_helper.rb    (リビジョン 17987)
+++ app/helpers/application_helper.rb    (作業コピー)
@@ -1567,11 +1567,6 @@
     end
   end

-  def generate_csv(&block)
-    decimal_separator = l(:general_csv_decimal_separator)
-    encoding = l(:general_csv_encoding)
-  end
-
   def export_csv_encoding_select_tag
     return if l(:general_csv_encoding).casecmp('UTF-8') == 0
     options = [l(:general_csv_encoding), 'UTF-8']
Actions

Also available in: Atom PDF