BathHacked/energy-sparks

View on GitHub
app/controllers/landing_pages_controller.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class LandingPagesController has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

class LandingPagesController < ApplicationController
  TRUST = 'multi_academy_trust'.freeze
  LA = 'local_authority'.freeze
  # Needs to be aligned with values in set_org_types
  GROUP_TYPES = [TRUST, LA].freeze
Severity: Minor
Found in app/controllers/landing_pages_controller.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status