Skip to content

Instantly share code, notes, and snippets.

@hmaurer
Created February 5, 2013 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hmaurer/4718118 to your computer and use it in GitHub Desktop.
Save hmaurer/4718118 to your computer and use it in GitHub Desktop.
package controllers
import play.api._
import play.api.mvc._
object Application extends Controller {
def index(name: String) = Action {
val x = 2 + 4;
Ok(views.html.index("Your new application is ready." + name))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment