This commit is contained in:
Nicolas Bally 2012-08-18 17:12:48 +02:00
parent 12d5bec6bc
commit d0ccaddc90
4 changed files with 3 additions and 30 deletions

View File

@ -1,17 +1,3 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery //= require jquery
//= require jquery_ujs //= require jquery_ujs
//= require_tree . //= require_tree .
@ -152,16 +138,6 @@ function chartbar(Container, Datas, Categories, Title){
} }
$(document).ready(function() {
});

View File

@ -1,3 +0,0 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

View File

@ -3,7 +3,7 @@
%head %head
%title Le Pic Vert - Votre avis sur les sorties du Pic Vert %title Le Pic Vert - Votre avis sur les sorties du Pic Vert
= stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application", :debug => true = javascript_include_tag "application"
= csrf_meta_tags = csrf_meta_tags
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">

View File

@ -12,10 +12,10 @@ Survey::Application.configure do
config.serve_static_assets = false config.serve_static_assets = false
# Compress JavaScripts and CSS # Compress JavaScripts and CSS
config.assets.compress = true config.assets.compress = false
# Don't fallback to assets pipeline if a precompiled asset is missed # Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false config.assets.compile = true
# Generate digests for assets URLs # Generate digests for assets URLs
config.assets.digest = true config.assets.digest = true