examples/templates/template_markaby.rb in manveru-ramaze-2008.10 vs examples/templates/template_markaby.rb in manveru-ramaze-2008.12

- old
+ new

@@ -1,10 +1,10 @@ require 'rubygems' require 'ramaze' class MainController < Ramaze::Controller - view_root __DIR__/'template' + view_root __DIR__('template') engine :Markaby helper :markaby def index @@ -31,10 +31,10 @@ br a("#@place/one?foo=bar", :href => R(@this, @place, :one, :foo => :bar)) br end div do - text "The arguments you have passed to this action are:" + text "The arguments you have passed to this action are:" if @args.empty? text "none" else args.each do |arg| span arg