lib/chive/engine.rb in chive-0.2.0 vs lib/chive/engine.rb in chive-0.2.1
- old
+ new
@@ -9,11 +9,9 @@
end
# Enhance the assets:precompile task with the chive:public_assets task to
# ensure that the main app can access this engine's assets in production.
rake_tasks do
- load Chive::Engine.root.join('lib', 'tasks', 'chive_tasks.rake')
-
if Rake::Task.task_defined?('assets:precompile')
Rake::Task['assets:precompile'].enhance do
Rake::Task['chive:public_assets'].invoke
end
end