From 2f9fe2cfad83416647beed9c3c9085d686c43b09 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Sat, 14 Feb 2015 23:11:57 +0100 Subject: Initial commit. --- conf/routes | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 conf/routes (limited to 'conf/routes') 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 -- cgit v1.2.3