diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-03 15:55:22 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-03 15:55:22 -0700 |
commit | 5132f8383c322963ab03dd44854c7cd8d5d3f70f (patch) | |
tree | b9f833752c8690b5d0f78f8ed682980e07218ff4 /railties/lib/rails/generators | |
parent | fc6b5337491fb37f7ec8bdee89ca199734f6fc62 (diff) | |
download | rails-5132f8383c322963ab03dd44854c7cd8d5d3f70f.tar.gz rails-5132f8383c322963ab03dd44854c7cd8d5d3f70f.tar.bz2 rails-5132f8383c322963ab03dd44854c7cd8d5d3f70f.zip |
Add suggestion as to how you can app the the assets load path
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt index d2f4ec33a6..01ef3e6630 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt @@ -3,6 +3,9 @@ # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' +# Add additional assets to the asset load path +# Rails.application.config.assets.paths << Emoji.images_path + # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # Rails.application.config.assets.precompile += %w( search.js ) |