af83/chouette-core

View on GitHub
app/policies/application_policy.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class ApplicationPolicy has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

class ApplicationPolicy
  attr_reader :current_referential, :current_workbench, :current_workgroup, :record, :user

  def initialize(user_context, record)
    @user                = user_context.user
Severity: Minor
Found in app/policies/application_policy.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status