Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/health_check/health_check_routes.rb

Instance Method Summary collapse

Instance Method Details

#health_check_routes(routes_manually_defined = true) ⇒ Object



5
6
7
8
# File 'lib/health_check/health_check_routes.rb', line 5

def health_check_routes(routes_manually_defined = true)
  HealthCheck::Engine.routes_manually_defined ||= routes_manually_defined
  get 'health_check(/:checks)(.:format)', :to => 'health_check/health_check#index'
end