Maintenance mode
Last updated
Last updated
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
:
This action is typically 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.