method

serve_static_files=

rails latest stable - Class: Rails::Application::Configuration

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

serve_static_files=(value)
public

No documentation available.

# File railties/lib/rails/application/configuration.rb, line 80
      def serve_static_files=(value)
        ActiveSupport::Deprecation.warn           `config.serve_static_files` is deprecated and will be removed in Rails 5.1.          Please use `config.public_file_server.enabled = #{value}` instead..strip_heredoc

        @public_file_server.enabled = value
      end