Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a 503 status code along with the maintenance page. This should…
… prevent search engines from indexing your maintenance page, make life easier on API consumers, enable AJAX requests to correctly deal with the site being down, and so on. Credit to @chrisk for the idea. See http://shiftcommathree.com/articles/make-your-rails-maintenance-page-respond-with-a-503 for more information.
- Loading branch information