Browse files

Fix frontend features locale_spec

It failed with:

       undefined method `content_tag' for Spree:Module

Probably due to recent changes in rails i18n api related to the security
patch in 4.0.2, see!topic/ruby-security-ann/pLrh6DUw998
and rails/rails@78790e4
  • Loading branch information...
huoxito committed Dec 3, 2013
1 parent 0ee8ca2 commit cb5abb8914403bc26797114d23b07d3fe81fa210
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/lib/spree/i18n.rb
@@ -4,6 +4,7 @@
module Spree
extend ActionView::Helpers::TranslationHelper
+ extend ActionView::Helpers::TagHelper
class << self
# Add spree namespace and delegate to Rails TranslationHelper for some nice

0 comments on commit cb5abb8

Please sign in to comment.