fixes #353 minify js file, move jquery and jquery-ui to CDN

This commit is contained in:
Artem Chernikov 2014-07-29 23:21:44 +02:00
parent 748b33e7c2
commit a72fc1c02e
6 changed files with 23 additions and 16 deletions

View file

@ -1,4 +1,4 @@
Osem::Application.configure do
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@ -16,8 +16,8 @@ Osem::Application.configure do
# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false
# Compress JavaScripts and CSS
config.assets.compress = true
# Compress JavaScripts
config.assets.js_compressor = :uglifier
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false