Mercurial > zeropaste
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 |
rev | line source |
---|---|
431 | 1 # Be sure to restart your server when you modify this file. |
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 |