Add proper error page for request timeouts
Showing
- Gemfile 1 addition, 1 deletionGemfile
- app/controllers/application_controller.rb 8 additions, 0 deletionsapp/controllers/application_controller.rb
- app/views/errors/503.html.haml 5 additions, 0 deletionsapp/views/errors/503.html.haml
- config/initializers/timeout.rb 3 additions, 1 deletionconfig/initializers/timeout.rb
... | ... | @@ -50,6 +50,7 @@ gem 'rails-settings-cached' |
gem 'simple-navigation' | ||
gem 'statsd-instrument' | ||
gem 'ruby-oembed', require: 'oembed' | ||
gem 'rack-timeout' | ||
gem 'react-rails' | ||
gem 'browserify-rails' | ||
... | ... | @@ -89,5 +90,4 @@ group :production do |
gem 'rails_12factor' | ||
gem 'redis-rails' | ||
gem 'lograge' | ||
gem 'rack-timeout' | ||
end |
app/views/errors/503.html.haml
0 → 100644
Please register or sign in to comment