Skip to content

Commit

Permalink
Updated paginate tag to support Controller Namespace
Browse files Browse the repository at this point in the history
Updated TwitterBootstrapTagLib.paginate to support building links to controllers that are namespaced

Closes #110
  • Loading branch information
hugheba authored and legart committed Jun 30, 2014
1 parent 1f27d99 commit 389520e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grails-app/taglib/org/groovydev/TwitterBootstrapTagLib.groovy
Expand Up @@ -61,6 +61,9 @@ class TwitterBootstrapTagLib {
if (params.order) linkParams.order = params.order

def linkTagAttrs = [action:action]
if (attrs.namespace) {
linkTagAttrs.namespace = attrs.namespace
}
if (attrs.controller) {
linkTagAttrs.controller = attrs.controller
}
Expand Down

0 comments on commit 389520e

Please sign in to comment.