Maintenance mode
If you wish to disable access to all routes of your application and redirect every requested route to a certain route, this can be done with a maintenance
route.
This can be configured in app.rb
:
app.rb
This action is typically rendering a static webpage that details the reasons for maintenance:
Note that maintenance
simply is just a get
route, so some sort of rendering, redirecting, or other valid return must be done.
Last updated