Checks doc: add an example for the simple check for the Rails deployment example

This commit is contained in:
Trevor Turk
2016-03-03 12:32:15 -06:00
parent 2df9bbeb83
commit b8c264f173

View File

@@ -109,7 +109,11 @@ ATTEMPTS=6
/check.txt simple_check
````
> check.txt is a text file returning the string 'simple_check'
For this check to work, we've added a line to `config/routes.rb` that simply returns a string:
````
get '/check.txt', to: proc {[200, {}, ['simple_check']]}
````
### Deploy Output