lib/auther/engine.rb in auther-1.2.0 vs lib/auther/engine.rb in auther-1.3.0
- old
+ new
@@ -8,9 +8,13 @@
initializer "auther.initialize" do |app|
# Add jQuery assets.
jquery_gem_path = Gem.loaded_specs["jquery-rails"].full_gem_path
app.config.assets.paths << "#{jquery_gem_path}/vendor/assets/javascripts"
+ # Add Modernizr assets.
+ modernizr_gem_path = Gem.loaded_specs["modernizr-rails"].full_gem_path
+ app.config.assets.paths << "#{modernizr_gem_path}/vendor/assets/javascripts"
+
# Add Zurb Foundation assets.
foundation_gem_path = Gem.loaded_specs["foundation-rails"].full_gem_path
app.config.assets.paths << "#{foundation_gem_path}/vendor/assets/stylesheets"
app.config.assets.paths << "#{foundation_gem_path}/vendor/assets/javascripts"