Sha256: d6418119107f3958b897d51abaf8fd7d83eb7c9faa152c70000b5066b15652fb

Contents?: true

Size: 296 Bytes

Versions: 9

Compression:

Stored size: 296 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

9 entries across 9 versions & 1 rubygems

Version Path
staticmatic2-2.1.8 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.7 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.6 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.5 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.4 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.3 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.2 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.1 lib/staticmatic/helpers/render_helper.rb
staticmatic2-2.1.0 lib/staticmatic/helpers/render_helper.rb