diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-09-29 04:00:25 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-09-29 04:00:25 -0500 |
commit | 2b8b1208ad357d3e8558e9b34cb99e5a299887b8 (patch) | |
tree | b1ddb9153c191d215048dbdb9a34fa123623dbac /t/data/route/templates/foo | |
parent | 25b489a34ad55818a7407ce32f3c89968a1d240f (diff) | |
download | ox-view-tt-2b8b1208ad357d3e8558e9b34cb99e5a299887b8.tar.gz ox-view-tt-2b8b1208ad357d3e8558e9b34cb99e5a299887b8.zip |
allow routing directly to the view
Diffstat (limited to 't/data/route/templates/foo')
-rw-r--r-- | t/data/route/templates/foo/foo.tt | 1 | ||||
-rw-r--r-- | t/data/route/templates/foo/index.tt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/t/data/route/templates/foo/foo.tt b/t/data/route/templates/foo/foo.tt new file mode 100644 index 0000000..ba1c791 --- /dev/null +++ b/t/data/route/templates/foo/foo.tt @@ -0,0 +1 @@ +<p>[% uri_for(template => 'foo.tt') %]</p> diff --git a/t/data/route/templates/foo/index.tt b/t/data/route/templates/foo/index.tt new file mode 100644 index 0000000..7849703 --- /dev/null +++ b/t/data/route/templates/foo/index.tt @@ -0,0 +1 @@ +<b>Hello world</b> |