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

This commit is contained in:
Trevor Turk committed 2016-03-03 12:32:15 -06:00
1 parent 2df9bbeb83
commit b8c264f173
1 file changed
+5 -1
+5 -1
View File
@@ -109,7 +109,11 @@ ATTEMPTS=6
/check.txt simple_check /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 ### Deploy Output