unepwcmc/SAPI

View on GitHub
app/controllers/cites_trade/exports_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method download has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def download
    respond_to do |format|
      format.html {
        search = Trade::ShipmentsExportFactory.new(search_params.merge({
          :per_page => Trade::ShipmentsExport::PUBLIC_CSV_LIMIT
Severity: Minor
Found in app/controllers/cites_trade/exports_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status