Permalink
Browse files

use namespaced assets

  • Loading branch information...
1 parent 132b608 commit 4ef8622fa073f55f736183165a14d21d10f0eb15 @timoschilling timoschilling committed Sep 23, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 app/views/layouts/dj_mon.html.haml
  2. +1 −1 lib/dj_mon/engine.rb
@@ -2,9 +2,9 @@
%html
%head{:lang => "en"}
%meta{:name => "apple-itunes-app", :content => "app-id=552732872"}
- = stylesheet_link_tag "dj_mon", :media => "screen, projection"
+ = stylesheet_link_tag "dj_mon/dj_mon", :media => "screen, projection"
= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
- = javascript_include_tag "dj_mon"
+ = javascript_include_tag "dj_mon/dj_mon"
= yield :head
%body
View
@@ -9,7 +9,7 @@ class Engine < Rails::Engine
if Rails.version > "3.1"
initializer "DJMon precompile hook" do |app|
- app.config.assets.precompile += ['dj_mon.js', 'dj_mon.css']
+ app.config.assets.precompile += ['dj_mon/dj_mon.js', 'dj_mon/dj_mon.css']
end
end

0 comments on commit 4ef8622

Please sign in to comment.