Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdave committed Nov 24, 2011
1 parent 885378b commit f8f6c65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ Play has you set your model fields as public and then autogenerates get and set
So while in standard Play you'd do this:

public class Post extends Model {
public String title
public String title;
}
...
Post p = new Post()
p.title = 'Hello'
System.out.println(p.title)
Post p = new Post();
p.title = 'Hello';
System.out.println(p.title);

In Groovy, do this:

Expand Down

0 comments on commit f8f6c65

Please sign in to comment.