Skip to content

Instantly share code, notes, and snippets.

@wfaler
Created January 18, 2011 01:29
Show Gist options
  • Save wfaler/783846 to your computer and use it in GitHub Desktop.
Save wfaler/783846 to your computer and use it in GitHub Desktop.
newwidget.scala
// form for creating a new Widget - passes in a new, empty widget to be filled out.
get ("/widgets/new")((request, response) => {render(Widget(0, null, 0))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment