diff options
| author | Horus_Arch | 2015-02-14 23:11:57 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-14 23:11:57 +0100 |
| commit | 2f9fe2cfad83416647beed9c3c9085d686c43b09 (patch) | |
| tree | fce1e043672f94cf42f8197079ce6fb3017dade0 /conf/routes | |
| download | freemail-2f9fe2cfad83416647beed9c3c9085d686c43b09.tar.gz | |
Initial commit.
Diffstat (limited to 'conf/routes')
| -rw-r--r-- | conf/routes | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/conf/routes b/conf/routes new file mode 100644 index 0000000..fc8209f --- /dev/null +++ b/conf/routes @@ -0,0 +1,28 @@ +# Routes +# This file defines all application routes (Higher priority routes first) +# ~~~~ + +module:testrunner + +GET / App.Index +GET /mail App.Mail +GET /mail/register App.MailRegister +POST /mail/register App.DoMailRegister + +GET /domain Domain.Index +POST /domain Domain.DoEdit +GET /domain/register Domain.Register +POST /domain/register Domain.DoRegister +GET /domain/login Domain.Login +POST /domain/login Domain.DoLogin + + +# Ignore favicon requests +GET /favicon.ico 404 + +# Map static resources from the /app/public folder to the /public path +GET /public/*filepath Static.Serve("public") +GET /static/*filepath Static.Serve("static") + +# Catch all +* /:controller/:action :controller.:action |
