Custom folder structure: initial documentation, code and structure folders

This commit is contained in:
Andrés Pereira
2016-05-31 19:57:29 +02:00
parent 1975018d6a
commit a4dbd768ce
14 changed files with 254 additions and 1 deletions

View File

@@ -13,3 +13,7 @@ Rails.application.config.assets.precompile += %w( ckeditor/* )
Rails.application.config.assets.precompile += %w( ie_lt9.js )
Rails.application.config.assets.precompile += %w( stat_graphs.js )
Rails.application.config.assets.precompile += %w( print.css )
# Really ugly hack to putting app/assets/images/custom in front of app/assets/images
images_path = Rails.application.config.assets.paths
images_path = images_path.insert(0, Rails.root.join("app", "assets", "images", "custom").to_s)