Skip to content

Instantly share code, notes, and snippets.

@b-ggs
Created November 8, 2016 11:37
Show Gist options
  • Save b-ggs/919970cabbd10fffb756aec5eb4abef7 to your computer and use it in GitHub Desktop.
Save b-ggs/919970cabbd10fffb756aec5eb4abef7 to your computer and use it in GitHub Desktop.
# 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'
%w( clients ).each do |controller|
Rails.application.config.assets.precompile += ["#{controller}.coffee", "#{controller}.scss"]
end
# 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 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment