plugins/application/lib/application/command/executor.rb in redcar-0.3.2dev vs plugins/application/lib/application/command/executor.rb in redcar-0.3.3
- old
+ new
@@ -40,11 +40,11 @@
@command_instance.error.backtrace.each {|l| logger.error(" " + l) }
end
end
def record
- if Redcar.history
- Redcar.history.record(@command_instance)
+ if Redcar.app.history
+ Redcar.app.history.record(@command_instance)
end
end
end
end
end