Permalink
Browse files

use constructor for binding

  • Loading branch information...
1 parent cf093bd commit 1d2156b2382da5397d776151368deb446210cb96 @graemerocher graemerocher committed Aug 11, 2009
@@ -194,8 +194,7 @@ class DownloadController {
}
def create = {
- def download = new Download()
- download.properties = params
+ def download = new Download(params)
return ['download':download]
}

0 comments on commit 1d2156b

Please sign in to comment.