summaryrefslogtreecommitdiff
path: root/config/initializers/application_controller_renderer.rb
blob: a65f8aecf9ea80fcd265ace29701144441fbe911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Remove this `if` condition when upgraded to rails 5.0.
# The body must be kept.
if Gitlab.rails5?
  # Be sure to restart your server when you modify this file.

  # ActiveSupport::Reloader.to_prepare do
  #   ApplicationController.renderer.defaults.merge!(
  #     http_host: 'example.org',
  #     https: false
  #   )
  # end
end