Sha256: 5ac0892fc9469cca9f1ddf81a7cf6af228398a2f62bbdcc51e2e13ac56395769

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

module StaticMatic
  module Helpers
    module RenderHelper
      self.extend self
      
      # Include a partial template
      def partial(name, options = {})
        name = @staticmatic.ensure_extension(name)
        @staticmatic.generate_partial(name, options)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
staticmatic3-2.1.10 lib/staticmatic/helpers/render_helper.rb
staticmatic3-2.1.9 lib/staticmatic/helpers/render_helper.rb