Revision: 13742
http://gate.svn.sourceforge.net/gate/?rev=13742&view=rev
Author: valyt
Date: 2011-04-21 15:16:37 +0000 (Thu, 21 Apr 2011)
Log Message:
-----------
don't look for stuff where it ain't
Modified Paths:
--------------
mimir/trunk/grails-plugin-mimir/grails-app/controllers/gate/mimir/web/IndexManagementController.groovy
Modified:
mimir/trunk/grails-plugin-mimir/grails-app/controllers/gate/mimir/web/IndexManagementController.groovy
===================================================================
---
mimir/trunk/grails-plugin-mimir/grails-app/controllers/gate/mimir/web/IndexManagementController.groovy
2011-04-21 13:51:25 UTC (rev 13741)
+++
mimir/trunk/grails-plugin-mimir/grails-app/controllers/gate/mimir/web/IndexManagementController.groovy
2011-04-21 15:16:37 UTC (rev 13742)
@@ -41,7 +41,7 @@
def theIndex = Index.findByIndexId(params.indexId)
if(theIndex) {
if(theIndex.state == Index.INDEXING) {
- render(text:request.theIndex.indexUrl(), contentType:"text/plain",
+ render(text:theIndex.indexUrl(), contentType:"text/plain",
encoding:"UTF-8")
} else {
response.sendError(HttpServletResponse.SC_FORBIDDEN,
@@ -54,7 +54,7 @@
def theIndex = Index.findByIndexId(params.indexId)
if(theIndex) {
if(theIndex.state == Index.INDEXING) {
- request.theIndex.close()
+ theIndex.close()
render("OK")
} else {
response.sendError(HttpServletResponse.SC_FORBIDDEN,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs