Skip to content

Commit

Permalink
use bind data instead
Browse files Browse the repository at this point in the history
  • Loading branch information
davydotcom committed Dec 4, 2014
1 parent 4676238 commit ac04cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SpudCmsGrailsPlugin.groovy
@@ -1,5 +1,5 @@
class SpudCmsGrailsPlugin {
def version = "0.6.6"
def version = "0.6.7"
def grailsVersion = "2.3 > *"
def pluginExcludes = [
"grails-app/views/error.gsp"
Expand Down
Expand Up @@ -63,7 +63,7 @@ class SnippetsController {
if(!snippet) {
return
}
snippet.properties += params.snippet
bindDate(snippet,params.snippet)
snippet.siteId = spudMultiSiteService.activeSite.siteId

if(snippet.save(flush:true)) {
Expand Down

0 comments on commit ac04cc6

Please sign in to comment.