AyuntamientoMadrid/participacion

View on GitHub
app/models/abilities/moderation.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize(user)
      merge Abilities::Common.new(user)

      can :read, Organization
      can(:verify, Organization) { |o| !o.verified? }
Severity: Minor
Found in app/models/abilities/moderation.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status