Skip to content

Commit

Permalink
Remove duplicate definition of included_without_analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
radar authored and BDQ committed Jul 18, 2012
1 parent 13f3152 commit 5fbd70f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions dash/lib/spree/dash/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,3 @@ def self.activate
end
end
end

# add helper to all the base controllers
# Spree::BaseController includes Spree::Core::ControllerHelpers
require 'spree/core/controller_helpers'
class << Spree::Core::ControllerHelpers
def included_with_analytics(receiver)
included_without_analytics(receiver)
receiver.send :helper, 'spree/analytics'
end
alias_method_chain :included, :analytics
end

0 comments on commit 5fbd70f

Please sign in to comment.