Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/health_check_toolbox/health_check_routes.rb
Instance Method Summary collapse
Instance Method Details
#health_check_routes ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/health_check_toolbox/health_check_routes.rb', line 6 def health_check_routes match 'health_check(/:checks)(.:format)', to: 'health_check_toolbox/health#health_check', via: :get match 'service_status(/:checks)(.:format)', to: 'health_check_toolbox/health#service_status', via: :get end |