You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
263 B

  1. # frozen_string_literal: true
  2. class Admin::SystemCheck::RulesCheck < Admin::SystemCheck::BaseCheck
  3. include RoutingHelper
  4. def pass?
  5. Rule.kept.exists?
  6. end
  7. def message
  8. Admin::SystemCheck::Message.new(:rules_check, nil, admin_rules_path)
  9. end
  10. end