Skip to content

Loading…

namespace dj_mon.js and dj_mon.css #26

Merged
merged 3 commits into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
0 app/assets/javascripts/dj_mon.js → app/assets/javascripts/dj_mon/dj_mon.js
File renamed without changes.
View
0 app/assets/stylesheets/dj_mon.css → app/assets/stylesheets/dj_mon/dj_mon.css
File renamed without changes.
View
6 app/views/layouts/dj_mon.html.haml
@@ -1,8 +1,10 @@
!!! 5
%html
%head{:lang => "en"}
- = stylesheet_link_tag "dj_mon", :media => "screen, projection"
%meta{:name => "apple-itunes-app", :content => "app-id=552732872"}
+ = 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/dj_mon"
= yield :head
%body
@@ -26,8 +28,6 @@
.container
= yield
- = javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
- = javascript_include_tag "dj_mon"
%script
var dj_counts_dj_reports_url = "#{dj_counts_dj_reports_url}"
View
2 lib/dj_mon/engine.rb
@@ -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
Something went wrong with that request. Please try again.