Class: Utopia::Tags::Node
- Inherits:
-
Object
- Object
- Utopia::Tags::Node
- Defined in:
- lib/utopia/tags/node.rb
Class Method Summary collapse
Class Method Details
.call(transaction, state) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/utopia/tags/node.rb', line 24 def self.call(transaction, state) path = Path[state[:path]] node = transaction.lookup_node(path) transaction.render_node(node) end |