Mercurial > zeropaste
annotate config/initializers/application_controller_renderer.rb @ 483:02d043b1967d
Accept file upload instead of binary gzip parameter
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 19:54:08 +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 |