Skip to content

Instantly share code, notes, and snippets.

@jamesward
Created October 6, 2013 00:16
Show Gist options
  • Save jamesward/6847666 to your computer and use it in GitHub Desktop.
Save jamesward/6847666 to your computer and use it in GitHub Desktop.
Test Multiple Tabs
package controllers;
import play.*;
import play.mvc.*;
import views.html.*;
public class Application extends Controller {
public static Result index() {
return ok(index.render("Your new application is ready."));
}
}
package controllers
import play.api._
import play.api.mvc._
object Application extends Controller {
def index = Action {
Ok(views.html.index("Your new application is ready."))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment