diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2016-04-04 15:08:50 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2016-04-04 15:08:50 -0300 |
commit | 426458d50cc0ef5b25d42572c46dac1001fc8007 (patch) | |
tree | b80d10c5742cff2c7b1498842c1d7f667037b357 | |
parent | 8040e55063abde6eeaac2702ca9961ce34a2d6c7 (diff) | |
parent | c2d50a0956ffa427ee7efabff64a09014ee560a5 (diff) | |
download | rails-426458d50cc0ef5b25d42572c46dac1001fc8007.tar.gz rails-426458d50cc0ef5b25d42572c46dac1001fc8007.tar.bz2 rails-426458d50cc0ef5b25d42572c46dac1001fc8007.zip |
Merge pull request #24332 from blackchestnut/doc/deprecation_warn
Added 'config.' to deprecation warning
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 65cff1561a..0aceee1c9a 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -70,7 +70,7 @@ module Rails def serve_static_files ActiveSupport::Deprecation.warn <<-eow.strip_heredoc `serve_static_files` is deprecated and will be removed in Rails 5.1. - Please use `public_file_server.enabled` instead. + Please use `config.public_file_server.enabled` instead. eow @public_file_server.enabled @@ -79,7 +79,7 @@ module Rails def serve_static_files=(value) ActiveSupport::Deprecation.warn <<-eow.strip_heredoc `serve_static_files` is deprecated and will be removed in Rails 5.1. - Please use `public_file_server.enabled = #{value}` instead. + Please use `config.public_file_server.enabled = #{value}` instead. eow @public_file_server.enabled = value |