Created
July 12, 2012 10:47
-
-
Save jonathanselander/3097360 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers; | |
import play.*; | |
import play.mvc.*; | |
import play.data.*; | |
import views.html.login.*; | |
import models.*; | |
public class Authentication extends Controller { | |
final static Form<User> loginForm = form(User.class); | |
public static Result index() { | |
return ok(index.render(loginForm)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment