Sha256: 6822ed270202443ab0a9399c469af96b3db7c499bbfa6849870a55bcc653a389

Contents?: true

Size: 190 Bytes

Versions: 4

Compression:

Stored size: 190 Bytes

Contents

module SolidusSeo
  module Helpers
    module BaseHelper
      def plain_text(text)
        ActionController::Base.helpers.strip_tags(text.to_s).gsub(/\s+/, ' ')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_seo-1.0.7 lib/solidus_seo/helpers/base_helper.rb
solidus_seo-1.0.2 lib/solidus_seo/helpers/base_helper.rb
solidus_seo-1.0.1 lib/solidus_seo/helpers/base_helper.rb
solidus_seo-1.0.0 lib/solidus_seo/helpers/base_helper.rb