-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using a custom assets manifest via app config
At the moment the only allowed path is the default one but there is a config.assets.manifest option that should set the path of the custom manifest path. When an application uses a custom location for the manifest, even by setting the path like: ``` config.assets.manifest = File.expand_path('my_custom_path/config/manifest.js', __dir__) ``` would raise a ManifestNeededError exception. This commit adds a check of the configured assets manifest path before trying to use the default location.
- Loading branch information
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters