view conf/routes @ 3:5a097a2336fa draft

author e085711
date Wed, 26 Sep 2012 14:43:07 +0900
parents e45bf6020b0d
line wrap: on
line source

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Home page
GET     /                                       Application.index

# Ignore favicon requests
GET     /favicon.ico                            404

# Map static resources from the /app/public folder to the /public path
GET     /public/                                staticDir:public

GET		/db/data/testwrite								Application.testwrite
GET		/db/data/testread								Application.testread
#GET		/db/data/{action}						db.Data.{action}
POST		/db/data/node						db.Data.node
GET		/db/data/node/{id}						db.Data.node

GET /{id}/test									db.Data.test

# Catch all
*       /{controller}/{action}                  {controller}.{action}