source: trunk/grails-app/controllers/nl/tno/metagenomics/AssaySampleController.groovy @ 4

Last change on this file since 4 was 4, checked in by robert@…, 9 years ago

Implemented trash in order to prevent deletion of data

File size: 327 bytes
Line 
1package nl.tno.metagenomics
2
3class AssaySampleController {
4
5    /**
6     * Shows information about this assaySample in dialog style
7     */
8        def show = {
9                AssaySample assaySample = AssaySample.get( params.id as long );
10               
11                if( !assaySample ) {
12                        render "Sample not found";
13                        return
14                }
15               
16                [assaySample: assaySample]
17        }
18}
Note: See TracBrowser for help on using the repository browser.