Ignore:
Timestamp:
May 8, 2009, 1:01:56 AM (16 years ago)
Author:
gav
Message:

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

Location:
trunk/grails-app/controllers
Files:
4 added
1 deleted
1 edited
1 moved

Legend:

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

    r124 r131  
    2727            redirect(action:list)
    2828        }
    29         else { return [ taskInstance : taskInstance ] }
     29        else {
     30            def taskProcedureInstance = TaskProcedure.get(taskInstance?.taskProcedure?.id)
     31            return [ taskInstance : taskInstance,  taskProcedureInstance: taskProcedureInstance]
     32
     33        }
    3034    }
    3135
Note: See TracChangeset for help on using the changeset viewer.