afimb/chouette2

View on GitHub
app/inputs/search_stop_area_input.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method search has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def search
    if options[:json]
      tokenLimit = options[:tokenLimit].present? ? options[:tokenLimit] : "null"
      template.content_tag( :script,
       ("$(document).ready(function() {
Severity: Minor
Found in app/inputs/search_stop_area_input.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status