Ignore:
Timestamp:
Feb 10, 2011, 5:03:02 PM (9 years ago)
Author:
robert@…
Message:

Improved user interface and implemented basic export functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/nl/tno/metagenomics/integration/RestController.groovy

    r12 r13  
    373373                        switch( entity ) {
    374374                                case "Study":
    375                                         actions[ entity ] = [ [ name: "excel", description: "Export as excel" ] ]
     375                                        actions[ entity ] = [ [ name: "excel", description: "Export as excel", url: createLink( controller: "study", action: "exportAsExcel", absolute: true ) ] ]
    376376                                        break;
    377377                                case "Assay":
    378                                         actions[ entity ] = [ [ name: "fasta", description: "Export as fasta" ] ]
     378                                        actions[ entity ] = [ [ name: "fasta", description: "Export as fasta", url: createLink( controller: "assay", action: "exportAsFasta", absolute: true ) ] ]
    379379                                        break;
    380380                                case "Sample":
    381                                         actions[ entity ] = [ [ name: "fasta", description: "Export as fasta" ] ]
     381                                        actions[ entity ] = [ [ name: "fasta", description: "Export as fasta", url: createLink( controller: "sample", action: "exportAsFasta", absolute: true ) ] ]
    382382                                        break;
    383383                                default:
Note: See TracChangeset for help on using the changeset viewer.