Actions
Patch #31046
closedRemove unused method ApplicationHelper#generate_csv
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