require 'al_template' class HelloController < AlController def action_index() @my_message = "Hello world." AlTemplate.run("./index.rhtml") end def action_foo() @action = "foo" AlTemplate.run("./foobar.rhtml") end def action_bar() @action = "bar" AlTemplate.run("./foobar.rhtml") end end