debian-mirror-gitlab/config/initializers/application_controller_renderer.rb

13 lines
334 B
Ruby
Raw Normal View History

2018-05-09 12:01:36 +05:30
# 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