Disable Rails/ApplicationController for HealthController (#28705)
				
					
				
			This commit is contained in:
		@@ -56,11 +56,6 @@ RSpec/MultipleMemoizedHelpers:
 | 
				
			|||||||
RSpec/NestedGroups:
 | 
					RSpec/NestedGroups:
 | 
				
			||||||
  Max: 6
 | 
					  Max: 6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This cop supports unsafe autocorrection (--autocorrect-all).
 | 
					 | 
				
			||||||
Rails/ApplicationController:
 | 
					 | 
				
			||||||
  Exclude:
 | 
					 | 
				
			||||||
    - 'app/controllers/health_controller.rb'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Configuration parameters: Include.
 | 
					# Configuration parameters: Include.
 | 
				
			||||||
# Include: app/models/**/*.rb
 | 
					# Include: app/models/**/*.rb
 | 
				
			||||||
Rails/HasAndBelongsToMany:
 | 
					Rails/HasAndBelongsToMany:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
# frozen_string_literal: true
 | 
					# frozen_string_literal: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class HealthController < ActionController::Base
 | 
					class HealthController < ActionController::Base # rubocop:disable Rails/ApplicationController
 | 
				
			||||||
  def show
 | 
					  def show
 | 
				
			||||||
    render plain: 'OK'
 | 
					    render plain: 'OK'
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user