exercism/website

View on GitHub
app/controllers/sitemaps_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method track has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def track
    track = Track.find(params[:track_id])
    pages = []
    pages << [track_url(track), track.updated_at, :monthly, 0.9]
    pages << [track_concepts_url(track), track.updated_at, :monthly, 0.85] if track.course?
Severity: Minor
Found in app/controllers/sitemaps_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status