annotate config/initializers/application_controller_renderer.rb @ 478:46ed68bf9918

Add more length check
author nanaya <me@nanaya.pro>
date Sat, 10 Oct 2020 18:14:57 +0900
parents 07d6c6639adf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
459
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
3 # ActiveSupport::Reloader.to_prepare do
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
4 # ApplicationController.renderer.defaults.merge!(
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
5 # http_host: 'example.org',
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
6 # https: false
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
7 # )
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 431
diff changeset
8 # end