added new files to precompile list

This commit is contained in:
Alexander Negoda 2012-07-30 21:29:25 +04:00
parent b185c08481
commit ef55c642d0
2 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View file

@ -13,6 +13,7 @@ config/deploy
Capfile Capfile
public/thumbs public/thumbs
public/uploads public/uploads
public/assets
vendor/cache vendor/cache
.idea .idea
.sass-cache .sass-cache

View file

@ -48,7 +48,11 @@ Photomix::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# Disable delivery errors, bad email addresses will be ignored # Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false # config.action_mailer.raise_delivery_errors = false
config.assets.precompile += %w( ajaxful_rating.css ) config.assets.precompile += %w(ajaxful_rating.css tag/tag.js
anythingslider/anythingslider.css
anythingslider/jquery.anythingslider.min.js
anythingslider/anythingslider.css
)
# Enable threaded mode # Enable threaded mode
# config.threadsafe! # config.threadsafe!
@ -60,7 +64,7 @@ Photomix::Application.configure do
# Send deprecation notices to registered listeners # Send deprecation notices to registered listeners
config.active_support.deprecation = :notify config.active_support.deprecation = :notify
config.action_mailer.default_url_options = { :host => "example.com" } config.action_mailer.default_url_options = {:host => "example.com"}
# Log the query plan for queries taking more than this (works # Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL) # with SQLite, MySQL, and PostgreSQL)