volontariat/voluntary

View on GitHub
app/models/ability.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def initialize(user, options = {})
    controller_namespace = options[:controller_namespace] || ""
    project = options[:project] || nil
    
    alias_action :index, :show, :autocomplete, :parents, :childs, :tree, to: :read
Severity: Minor
Found in app/models/ability.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status