Skip to content

Commit

Permalink
Merge pull request #2382 from io-german/master
Browse files Browse the repository at this point in the history
Replace import routes.javascript._ with full declaration.
  • Loading branch information
jroper committed Feb 16, 2014
2 parents 87799e4 + 4a91e1e commit 6e5f5a4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ RequestHeader)`` to the end of your parameter declarations.
A router resource can be generated by creating an action that invokes the router generator. It has a similar syntax to embedding the router in a template:

def javascriptRoutes = Action { implicit request =>
import routes.javascript._
Ok(
Routes.javascriptRouter("jsRoutes")(
Users.list,
Users.get
routes.javascript.Users.list,
routes.javascript.Users.get
)
).as("text/javascript")
}
Expand Down

0 comments on commit 6e5f5a4

Please sign in to comment.