blob: 051e31c77809377053dd136e00a46d971be65162 (
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
29
30
|
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
module:testrunner
GET / App.Index
GET /register App.Register
POST /register App.DoRegister
#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
|