pupilfirst/pupilfirst

View on GitHub
app/services/notifications/resolve_path_service.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
93%

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

    def resolve
      case @notification.event
      when "topic_created"
        url_helpers.topic_path(@notification.notifiable_id)
      when "post_created"
Severity: Minor
Found in app/services/notifications/resolve_path_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status