Ignore:
Timestamp:
Feb 3, 2009, 6:06:01 PM (16 years ago)
Author:
gav
Message:

Work on Task logic and entry creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/controllers/EntryController.groovy

    r40 r49  
    7474    def save = {
    7575        def entryInstance = new Entry(params)
     76            entryInstance.person = Person.findByUserId(session.userId)
     77
    7678        if(!entryInstance.hasErrors() && entryInstance.save()) {
    7779            flash.message = "Entry ${entryInstance.id} created"
Note: See TracChangeset for help on using the changeset viewer.