Permalink
Browse files

Add spree/analytics helper to Spree::BaseController in to_prepare blo…

…ck for Spree::Dash::Engine
  • Loading branch information...
1 parent 349d774 commit 1deabd8bcb27f0936056a09f8a1944791699c2c5 @radar radar committed May 31, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 dash/lib/spree/dash.rb
View
@@ -10,4 +10,6 @@ module Dash
require 'spree/dash/engine'
require 'spree/dash/jirafe'
-Spree::BaseController.send :helper, 'spree/analytics'
+Spree::Dash::Engine.config.to_prepare do
+ Spree::BaseController.send :helper, 'spree/analytics'
+end

0 comments on commit 1deabd8

Please sign in to comment.