Skip to content

Commit b587bbc

Browse files
authored
Merge pull request #20 from alphagov/CM-416-add-assets-prefix-to-config
(CM-416) Add `assets.prefix` to the Asset config
2 parents f87b06d + bfd4c00 commit b587bbc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

config/initializers/assets.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Be sure to restart your server when you modify this file.
22

3+
# Path within public/ where assets are compiled to
4+
Rails.application.config.assets.prefix = "/assets/content_block_manager"
5+
36
# Version of your assets, change this if you want to expire all your assets.
47
Rails.application.config.assets.version = "1.0"
58

spec/support/jasmine-browser.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"srcDir": "public/assets",
2+
"srcDir": "public/assets/content_block_manager",
33
"srcFiles": [
44
"test-dependencies-*.js",
55
"application-*.js",

0 commit comments

Comments
 (0)