From 4d3cb6b7616a14b42e7798f4ac6590ada7cf0345 Mon Sep 17 00:00:00 2001 From: mkocher Date: Sun, 3 Jun 2012 18:24:59 -0700 Subject: [PATCH] Learnings of the glorious asset pipline Don't image path with 'image': things that make you go hmmmm. --- MIT-LICENSE | 3 ++- app/views/layouts/application.html.erb | 4 ++-- config/application.rb | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MIT-LICENSE b/MIT-LICENSE index 92dca930..aac6f730 100644 --- a/MIT-LICENSE +++ b/MIT-LICENSE @@ -1,7 +1,8 @@ + Copyright (c) 2012 Matthew Kocher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 75d3dec5..05de350d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -6,8 +6,8 @@ <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> - - + + diff --git a/config/application.rb b/config/application.rb index c600043f..b50aa8f1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -56,5 +56,6 @@ class Application < Rails::Application # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' + config.assets.initialize_on_precompile = false end end