Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. /**
  2. * This action is used to serve Home page of the application
  3. *
  4. * @return
  5. */
  6. def index = Action { implicit request =>
  7. Ok(views.html.index("Your new application is ready."))
  8. }
  9.  
  10. /**
  11. * This action is used to handle Ajax request
  12. *
  13. * @return
  14. */
  15. def ajaxCall = Action { implicit request =>
  16. Ok("Ajax Call!")
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement