Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.35 KB | None | 0 0
  1. class Application extends Controller {
  2.   def index = Action {
  3.     implicit request => Ok(views.html.index())
  4.   }
  5. }
  6.  
  7. // index template
  8.  
  9. @()(implicit request: play.api.mvc.Request[Any])
  10.  
  11. @main(title = "Welcome to CHECKLIST.aero") {  }
  12.  
  13. // main template
  14.  
  15. @(title: String)(content: Html)(implicit request: play.api.mvc.Request[Any])<!DOCTYPE html> ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement