blob: fc8209f14c53c2eae02995415ddd802f31ef451c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|