zotonic_site_testsandbox dispatch rules (testing)
URL dispatch rules defined by zotonic_site_testsandbox in apps/zotonic_site_testsandbox/priv/dispatch/testing.
This file defines the URL dispatch rules for zotonic_site_testsandbox. Rules are matched from top to bottom; the first matching rule handles the request.
Source: apps/zotonic_site_testsandbox/priv/dispatch/testing
This set is stored in the testing dispatch file.
| Dispatch name | Path | Controller | Options |
|---|---|---|---|
home | / | controller_template | [{template,"home.tpl"}] |
helloworld | /helloworld | controller_template | [{template,"helloworld.tpl"},{anonymous,true}] |
test | /test | controller_test_helloworld | [] |
page | /page/:id | controller_page | [{template,{cat,"page.tpl"}}] |
page | /page/:id/:slug | controller_page | [{template,{cat,"page.tpl"}}] |