examples/templates/template_amrita2.rb in ramaze-0.1.4 vs examples/templates/template_amrita2.rb in ramaze-0.2.0

- old
+ new

@@ -1,17 +1,15 @@ # Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'ramaze' -include Ramaze - # TODO: # - implement the amrita2 example, man, this engine is awkward :P -class MainController < Controller +class MainController < Ramaze::Controller template_root __DIR__/:template - trait :engine => Template::Amrita2 + engine :Amrita2 def index %{ #{A(Rs())} | #{Rs(:internal)} | #{Rs(:external)} } end