Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark
Rails/ApplicationController
and similar cops as unsafe autocor…
…rect We have a controller class which inherits `ActionController::Base` directly. That controller is for health check endpoint. ```ruby class HealthCheckController < ActionController::Base # we want to skip some authentication logics... def index head :ok end end ``` ```ruby class ApplicationController < ActionController::Base # default some authentication logics... end ``` In such case, automatically modifying the `ActionController :: Base`->` ApplicationController` is not safe .
- Loading branch information