Sha256: 4fd838071b2fe8a0edacd5faa6ca21770c013d60572189447b54f8f3a7e5d383

Contents?: true

Size: 545 Bytes

Versions: 9

Compression:

Stored size: 545 Bytes

Contents

module FL
  module LiquidHelper

  	##########################
  	## Liquid ##
  	##########################

      # => Liquidize
      def liquidize content, *args
        template = Liquid::Template.parse content
        sanitize template.render
      end

    ##########################
  	##########################

    private

      # => Shortcodes
      def shortcodes
        cache = ActiveSupport::Cache::MemoryStore.new
        cache.read :shortcodes
      end

  	##########################
  	##########################

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fl-0.3.9 app/helpers/fl/liquid_helper.rb
fl-0.3.8 app/helpers/fl/liquid_helper.rb
fl-0.3.6 app/helpers/fl/liquid_helper.rb
fl-0.3.5 app/helpers/fl/liquid_helper.rb
fl-0.3.4 app/helpers/fl/liquid_helper.rb
fl-0.3.3 app/helpers/fl/liquid_helper.rb
fl-0.3.2 app/helpers/fl/liquid_helper.rb
fl-0.3.1 app/helpers/fl/liquid_helper.rb
fl-0.3.0 app/helpers/fl/liquid_helper.rb