Permalink
Browse files

fix cache eviction of summary

  • Loading branch information...
1 parent 5fbf886 commit 8a69f56a85c6b68fd08ca42a9b21264177a7f846 @graemerocher graemerocher committed Nov 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 grails-app/controllers/org/grails/plugin/PluginController.groovy
@@ -14,6 +14,7 @@ class PluginController {
def pluginService
def tagService
def wikiPageService
+ def cacheService
def legacyHome() {
redirect action: "list", permanent: true
@@ -130,6 +131,7 @@ class PluginController {
redirect uri:"/plugin/$id"
}
+ cacheService?.removeWikiText('pluginInfo_summary_' + plugin?.name)
}
catch( javax.persistence.OptimisticLockException e) {
flash.message = e.message

0 comments on commit 8a69f56

Please sign in to comment.