examples/basic/partial.rb in Pistos-ramaze-2009.02 vs examples/basic/partial.rb in Pistos-ramaze-2009.04.08
- old
+ new
@@ -1,17 +1,15 @@
require 'rubygems'
require 'ramaze'
# This is a small extension to the hello world example, showing how to use the
-# <render> tag of Ezamar.
+# <render> tag of Nagoro.
#
# Browse to /more and /even_more
-pipeline = Ramaze::Template::Ezamar::TRANSFORM_PIPELINE
-pipeline.put_after(::Ezamar::Element, ::Ezamar::RenderPartial)
-pipeline.uniq!
-
class MainController < Ramaze::Controller
+ provide :html => :nagoro
+
def index
"Hello, World!"
end
def more