Project

General

Profile

Actions

Bug #11593

open

[API] [Workbench] config option serve_static_assets to serve_static_files

Added by Nico César almost 7 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
1.0
Release:
Release relationship:
Auto

Description

After #7709 we start having a deprecation warning:

DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /var/www/arvados-api/current/config/environments/production.rb:12)

we should replace to serve_static_files, update our tests and documentation to reflect this.


Related issues

Related to Arvados - Feature #7709: [API] Upgrade API server to Rails 4.2ResolvedTom Clegg03/19/2017Actions
Actions

Also available in: Atom PDF