spec/dummy/config/initializers/assets.rb in vault-rails-0.2.0 vs spec/dummy/config/initializers/assets.rb in vault-rails-0.3.0
- old
+ new
@@ -1,8 +1,10 @@
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
+if Rails.application.config.respond_to?(:assets)
+ Rails.application.config.assets.version = '1.0'
+end
# 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 )