Mercurial > hg > Members > nobuyasu > Consensus
diff target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala @ 17:a134edaebf6f
modified UserModel/appendRequests
author | one |
---|---|
date | Tue, 02 Oct 2012 14:51:24 +0900 |
parents | 792fdb0c10bf |
children | ad7cfb1f9d03 |
line wrap: on
line diff
--- a/target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala Tue Oct 02 13:52:31 2012 +0900 +++ b/target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala Tue Oct 02 14:51:24 2012 +0900 @@ -1,6 +1,6 @@ // @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes -// @HASH:c5bff1896dbd0de70fbb37de9930bcba9c8300e6 -// @DATE:Tue Oct 02 10:41:54 JST 2012 +// @HASH:59e0af1cf1b7de16f307bf871a5f5dfd5d4ad215 +// @DATE:Tue Oct 02 11:52:43 JST 2012 import play.core._ import play.core.Router._ @@ -12,9 +12,10 @@ import Router.queryString -// @LINE:21 +// @LINE:22 +// @LINE:18 // @LINE:17 -// @LINE:16 +// @LINE:13 // @LINE:11 // @LINE:10 // @LINE:9 @@ -23,15 +24,32 @@ // @LINE:6 package controllers { +// @LINE:13 +class ReverseClaim { + + + + +// @LINE:13 +def crateClaim() = { + Call("POST", "/claims/create") +} + + + + +} + + +// @LINE:18 // @LINE:17 -// @LINE:16 // @LINE:6 class ReverseApplication { -// @LINE:17 +// @LINE:18 def test() = { Call("GET", "/test") } @@ -43,7 +61,7 @@ } -// @LINE:16 +// @LINE:17 def hello() = { Call("POST", "/hello") } @@ -54,13 +72,13 @@ } -// @LINE:21 +// @LINE:22 class ReverseAssets { -// @LINE:21 +// @LINE:22 def at(file:String) = { Call("GET", "/assets/" + implicitly[PathBindable[String]].unbind("file", file)) } @@ -119,9 +137,10 @@ -// @LINE:21 +// @LINE:22 +// @LINE:18 // @LINE:17 -// @LINE:16 +// @LINE:13 // @LINE:11 // @LINE:10 // @LINE:9 @@ -130,15 +149,37 @@ // @LINE:6 package controllers.javascript { +// @LINE:13 +class ReverseClaim { + + + + +// @LINE:13 +def crateClaim = JavascriptReverseRoute( + "controllers.Claim.crateClaim", + """ + function() { + return _wA({method:"POST", url:"/claims/create"}) + } + """ +) + + + + +} + + +// @LINE:18 // @LINE:17 -// @LINE:16 // @LINE:6 class ReverseApplication { -// @LINE:17 +// @LINE:18 def test = JavascriptReverseRoute( "controllers.Application.test", """ @@ -160,7 +201,7 @@ ) -// @LINE:16 +// @LINE:17 def hello = JavascriptReverseRoute( "controllers.Application.hello", """ @@ -176,13 +217,13 @@ } -// @LINE:21 +// @LINE:22 class ReverseAssets { -// @LINE:21 +// @LINE:22 def at = JavascriptReverseRoute( "controllers.Assets.at", """ @@ -271,9 +312,10 @@ -// @LINE:21 +// @LINE:22 +// @LINE:18 // @LINE:17 -// @LINE:16 +// @LINE:13 // @LINE:11 // @LINE:10 // @LINE:9 @@ -282,15 +324,32 @@ // @LINE:6 package controllers.ref { +// @LINE:13 +class ReverseClaim { + + + + +// @LINE:13 +def crateClaim() = new play.api.mvc.HandlerRef( + controllers.Claim.crateClaim(), HandlerDef(this, "controllers.Claim", "crateClaim", Seq()) +) + + + + +} + + +// @LINE:18 // @LINE:17 -// @LINE:16 // @LINE:6 class ReverseApplication { -// @LINE:17 +// @LINE:18 def test() = new play.api.mvc.HandlerRef( controllers.Application.test(), HandlerDef(this, "controllers.Application", "test", Seq()) ) @@ -302,7 +361,7 @@ ) -// @LINE:16 +// @LINE:17 def hello() = new play.api.mvc.HandlerRef( controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Seq()) ) @@ -313,13 +372,13 @@ } -// @LINE:21 +// @LINE:22 class ReverseAssets { -// @LINE:21 +// @LINE:22 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])) )