Sha256: f80f9ae1436e101ff3998c7417d1748417d10167d81e77b8f13cd826de658efe

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

#	This file is part of the "Utopia Framework" project, and is released under the MIT license.
#	Copyright 2010 Samuel Williams. All rights reserved.
#	See <utopia.rb> for licensing details.

require 'utopia/tags'

Utopia::Tags.create("node") do |transaction, state|
	path = Utopia::Path.create(state[:path])
	
	node = transaction.lookup_node(path)
	
	transaction.render_node(node)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
utopia-0.10.0 lib/utopia/tags/node.rb
utopia-0.9.61 lib/utopia/tags/node.rb
utopia-0.9.60 lib/utopia/tags/node.rb
utopia-0.9.59 lib/utopia/tags/node.rb