rs-pro/rocket_navigation

View on GitHub
lib/rocket_navigation/helpers.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method is_active_nav_link? has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def is_active_nav_link?(url, condition = nil)
      @is_active_link ||= {}
      @is_active_link[[url, condition]] ||= begin
        original_url = url
        url = Addressable::URI::parse(url).path
Severity: Minor
Found in lib/rocket_navigation/helpers.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status