Permalink
Browse files

Merge pull request #191 from bobbywarner/GRAILS-7196

GRAILS-7196: Paginate TabLib change for restful urls
  • Loading branch information...
2 parents 988e940 + c09affb commit 36f2f40803e199129f84b72f9618cc11e242e6e1 @jeffbrown jeffbrown committed May 1, 2012
View
2 ...gin-gsp/src/main/groovy/org/codehaus/groovy/grails/plugins/web/taglib/RenderTagLib.groovy
@@ -347,7 +347,7 @@ class RenderTagLib implements RequestConstants {
def locale = RCU.getLocale(request)
def total = attrs.int('total') ?: 0
- def action = (attrs.action ? attrs.action : (params.action ? params.action : "list"))
+ def action = (attrs.action ?: (params.action ?: ""))
def offset = params.int('offset') ?: 0
def max = params.int('max')
def maxsteps = (attrs.int('maxsteps') ?: 10)

0 comments on commit 36f2f40

Please sign in to comment.