Skip to content

Instantly share code, notes, and snippets.

@nraychaudhuri
Created September 20, 2013 18:15
Show Gist options
  • Select an option

  • Save nraychaudhuri/6641556 to your computer and use it in GitHub Desktop.

Select an option

Save nraychaudhuri/6641556 to your computer and use it in GitHub Desktop.
controller without extends
package controllers
import play.api._
import play.api.mvc._
import play.api.mvc.Controller
object Application {
def index = Action {
Results.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