Changeset 670

Show
Ignore:
Timestamp:
21-07-10 09:45:55 (4 years ago)
Author:
tabma
Message:

- fixed entity filter in importer controller

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r669 r670  
    261261 
    262262        // fetch all templates for a specific entity 
    263         //def templates = Template.findAllByEntity(Class.forName(entityClass, true, this.getClass().getClassLoader())) 
    264         def templates = Template.list() 
    265  
    266         println templates.dump() 
     263        def templates = Template.findAllByEntity(Class.forName(entityClass, true, this.getClass().getClassLoader()))     
    267264 
    268265        // render as JSON