Class: RuboCop::Cop::Rails::ApplicationController
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Rails::ApplicationController
- Extended by:
- AutoCorrector
- Includes:
- EnforceSuperclass
- Defined in:
- lib/rubocop/cop/rails/application_controller.rb
Overview
Checks that controllers subclass ‘ApplicationController`.
Constant Summary collapse
- MSG =
'Controllers should subclass `ApplicationController`.'
- SUPERCLASS =
'ApplicationController'
- BASE_PATTERN =
'(const (const {nil? cbase} :ActionController) :Base)'