Changeset 1436 for trunk/grails-app


Ignore:
Timestamp:
Jan 24, 2011, 3:48:46 PM (10 years ago)
Author:
robert@…
Message:

Improved querying, fixed some tests and added imports of the GDT plugin

Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BaseFilters.groovy

    r1430 r1436  
    4040
    4141                        afterView = {
    42                                 def actionDuration = request._timeAfterRequest - request._timeBeforeRequest
     42                                def actionDuration = request._timeAfterRequest ? request._timeAfterRequest - request._timeBeforeRequest : 0
    4343                                def viewDuration = System.currentTimeMillis() - request._timeAfterRequest
    4444                                log.info("Timer: ${controllerName}(${actionDuration}ms)::${actionName}(${viewDuration}ms)")
  • trunk/grails-app/controllers/dbnp/studycapturing/StudyController.groovy

    r1430 r1436  
    33import grails.converters.*
    44import grails.plugins.springsecurity.Secured
     5import nl.grails.plugins.gdt.TemplateFieldType
    56
    67/**
Note: See TracChangeset for help on using the changeset viewer.