Skip to content

Commit

Permalink
Fix frontend features locale_spec
Browse files Browse the repository at this point in the history
It failed with:

     ActionView::Template::Error:
       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 https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998
and rails/rails@78790e4
  • Loading branch information
huoxito committed Dec 3, 2013
1 parent 0ee8ca2 commit cb5abb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/spree/i18n.rb
Expand Up @@ -4,6 +4,7 @@


module Spree module Spree
extend ActionView::Helpers::TranslationHelper extend ActionView::Helpers::TranslationHelper
extend ActionView::Helpers::TagHelper


class << self class << self
# Add spree namespace and delegate to Rails TranslationHelper for some nice # Add spree namespace and delegate to Rails TranslationHelper for some nice
Expand Down

0 comments on commit cb5abb8

Please sign in to comment.