Changeset 1680 for trunk/grails-app


Ignore:
Timestamp:
Mar 29, 2011, 3:06:32 PM (10 years ago)
Author:
robert@…
Message:

Solving problems with HTML tags around plain text output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/PublicationController.groovy

    r1570 r1680  
    180180
    181181            // Return the ID
     182                        response.contentType = "text/plain"
    182183            render publication.id;
    183184        } else {
    184185            response.status = 500;
     186                        response.contentType = "text/plain"
    185187            render "No pubMedID found in request";
    186188        }
Note: See TracChangeset for help on using the changeset viewer.