Skip to content

Commit

Permalink
fixing bug with layout management
Browse files Browse the repository at this point in the history
  • Loading branch information
davydotcom committed Aug 15, 2014
1 parent 6218dff commit bd2ad75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -10,7 +10,7 @@ Installation/Usage
Add spud-cms to your BuildConfig.groovy
```groovy
plugins {
compile ':spud-cms:0.6.2'
compile ':spud-cms:0.6.3'
compile ':spud-security:0.6.0' //Only necessary if you do not have a security bridge
}
```
Expand Down
2 changes: 1 addition & 1 deletion SpudCmsGrailsPlugin.groovy
@@ -1,5 +1,5 @@
class SpudCmsGrailsPlugin {
def version = "0.6.2"
def version = "0.6.3"
def grailsVersion = "2.3 > *"
def pluginExcludes = [
"grails-app/views/error.gsp"
Expand Down
2 changes: 1 addition & 1 deletion grails-app/controllers/spud/admin/PagesController.groovy
Expand Up @@ -196,7 +196,7 @@ class PagesController {

private newPartialsForLayout(layoutName=null, existingPartials=null) {

def layoutsForSite = layoutParserService.layoutsForSite(0)
def layoutsForSite = layoutsForSite()
def defaultLayoutName = grailsApplication.config.spud.cms.defaultLayout ?: 'page'
if(!layoutName) {
layoutName = defaultLayoutName
Expand Down

0 comments on commit bd2ad75

Please sign in to comment.