Permalink
Browse files

documentation fixes

  • Loading branch information...
1 parent a69dbc0 commit d4cd5e59bcb032e477b66c76c552791ced561911 James MacAulay committed Jan 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −2 lib/extensions/application_ext.rb
  2. +1 −0 lib/sprockets/assets.rake
@@ -3,8 +3,7 @@ class Application < Engine
class Configuration < ::Rails::Engine::Configuration
# we need to do this over again for Rails::Application::Configuration because
# the Rails 3.0 implementation squashes the paths.vendor that we made in
- # application_ext.rb.
-
+ # engine_ext.rb.
def paths_with_vendor_assets
@paths ||= begin
paths = paths_without_vendor_assets
@@ -94,6 +94,7 @@ namespace :assets do
if Rails.application.config.assets.initialize_on_precompile
Rake::Task["environment"].invoke
else
+ # Rails.application.initialize!(:assets)
Rails.application.initialize!
Sprockets::Bootstrap.new(Rails.application).run
end

0 comments on commit d4cd5e5

Please sign in to comment.