view conf/routes @ 4:e12d0b6dbe02 draft default tip

add some files
author e085711
date Wed, 26 Sep 2012 14:43:57 +0900
parents 5a097a2336fa
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}