Mercurial > hg > Members > nobuyasu > Consensus
view target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala @ 6:d6afc58ce3f5
remove target/
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Oct 2012 17:11:46 +0900 |
parents | 3d01ca5b26ed |
children | 2122c50278bd |
line wrap: on
line source
// @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes // @HASH:22974fd16cc93a09bd1194651704cb9528e9acfd // @DATE:Mon Oct 01 17:09:21 JST 2012 import play.core._ import play.core.Router._ import play.core.j._ import play.api.mvc._ import play.libs.F import Router.queryString // @LINE:12 // @LINE:8 // @LINE:7 // @LINE:6 package controllers { // @LINE:7 // @LINE:6 class ReverseApplication { // @LINE:6 def index() = { Call("GET", "/") } // @LINE:7 def hello() = { Call("POST", "/db/data/node") } } // @LINE:12 class ReverseAssets { // @LINE:12 def at(file:String) = { Call("GET", "/assets/" + implicitly[PathBindable[String]].unbind("file", file)) } } // @LINE:8 class ReverseUser { // @LINE:8 def create(name:String) = { Call("GET", "/users/create/" + implicitly[PathBindable[String]].unbind("name", name)) } } } // @LINE:12 // @LINE:8 // @LINE:7 // @LINE:6 package controllers.javascript { // @LINE:7 // @LINE:6 class ReverseApplication { // @LINE:6 def index = JavascriptReverseRoute( "controllers.Application.index", """ function() { return _wA({method:"GET", url:"/"}) } """ ) // @LINE:7 def hello = JavascriptReverseRoute( "controllers.Application.hello", """ function() { return _wA({method:"POST", url:"/db/data/node"}) } """ ) } // @LINE:12 class ReverseAssets { // @LINE:12 def at = JavascriptReverseRoute( "controllers.Assets.at", """ function(file) { return _wA({method:"GET", url:"/assets/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("file", file)}) } """ ) } // @LINE:8 class ReverseUser { // @LINE:8 def create = JavascriptReverseRoute( "controllers.User.create", """ function(name) { return _wA({method:"GET", url:"/users/create/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)}) } """ ) } } // @LINE:12 // @LINE:8 // @LINE:7 // @LINE:6 package controllers.ref { // @LINE:7 // @LINE:6 class ReverseApplication { // @LINE:6 def index() = new play.api.mvc.HandlerRef( controllers.Application.index(), HandlerDef(this, "controllers.Application", "index", Seq()) ) // @LINE:7 def hello() = new play.api.mvc.HandlerRef( controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Seq()) ) } // @LINE:12 class ReverseAssets { // @LINE:12 def at(path:String, file:String) = new play.api.mvc.HandlerRef( controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String])) ) } // @LINE:8 class ReverseUser { // @LINE:8 def create(name:String) = new play.api.mvc.HandlerRef( controllers.User.create(name), HandlerDef(this, "controllers.User", "create", Seq(classOf[String])) ) } }