From ef55c642d0fa2b32690e1fcbfb90a60e8b295c00 Mon Sep 17 00:00:00 2001 From: Alexander Negoda Date: Mon, 30 Jul 2012 21:29:25 +0400 Subject: [PATCH] added new files to precompile list --- .gitignore | 1 + config/environments/production.rb | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6ea9f26..e7c7740 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ config/deploy Capfile public/thumbs public/uploads +public/assets vendor/cache .idea .sass-cache \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index 7d2f2b3..5c0b2c3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -5,7 +5,7 @@ Photomix::Application.configure do config.cache_classes = true # Full error reports are disabled and caching is turned on - config.consider_all_requests_local = false + config.consider_all_requests_local = false config.action_controller.perform_caching = true # Disable Rails's static asset server (Apache or nginx will already do this) @@ -48,7 +48,11 @@ Photomix::Application.configure do # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Disable delivery errors, bad email addresses will be ignored # 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 # config.threadsafe! @@ -60,7 +64,7 @@ Photomix::Application.configure do # Send deprecation notices to registered listeners 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 # with SQLite, MySQL, and PostgreSQL)