Skip to content

Instantly share code, notes, and snippets.

@jgonzalezd
Created February 12, 2017 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgonzalezd/20bd96ade435c0eca20000b5cb4a339f to your computer and use it in GitHub Desktop.
Save jgonzalezd/20bd96ade435c0eca20000b5cb4a339f to your computer and use it in GitHub Desktop.
# 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( jquery-ui/autocomplete.js )
Rails.application.config.assets.precompile += %w( pages/home.* )
Rails.application.config.assets.precompile += %w( pages/home/search_form.* )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment