diff options
Diffstat (limited to 'root/index')
-rw-r--r-- | root/index | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/root/index b/root/index new file mode 100644 index 0000000..4cc7bc3 --- /dev/null +++ b/root/index @@ -0,0 +1,23 @@ +[% + +main_block = 'index'; + +BLOCK index; + +%] + +<h2>Using ActionReflector and DBIC (View doesn't work)</h2> +<p><a href="[% ctx.uri_for('/foo') %]">foo</a></p> +<p><a href="[% ctx.uri_for('/bar') %]">bar</a></p> +<p><a href="[% ctx.uri_for('/baz') %]">baz</a></p> + +<h2>Using InterfaceModel, ObjectClass, SchemaClass, and ModelBase</h2> +<p><a href="[% ctx.uri_for('/testmodel/foo') %]">foo</a></p> +<p><a href="[% ctx.uri_for('/testmodel/bar') %]">bar</a></p> +<p><a href="[% ctx.uri_for('/testmodel/baz') %]">baz</a></p> + +[% + +END; + +%] |