Sha256: 218e75fa8efd74e1c788c97054085a446f5effbb1442956153b9420bba42bf35
Contents?: true
Size: 300 Bytes
Versions: 1
Compression:
Stored size: 300 Bytes
Contents
module Hyde module Helpers module Default def render_partial(partial_path, args = {}) locals = args[:locals] || {} p = Partial.create partial_path.to_s, project p.render locals end def partial(*a) render_partial *a end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydeweb-0.0.4 | lib/hyde/helpers.rb |