We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1912fb7 commit 97710f7Copy full SHA for 97710f7
src/grails/grails-app/taglib/ApplicationTagLib.groovy
@@ -83,7 +83,7 @@ class ApplicationTagLib {
83
attrs = attrs.remove('url')
84
}
85
86
- def controller = attrs.contains("controller") ? attrs.remove("controller") : grailsAttributes.getController(request).controllerName
+ def controller = attrs.containsKey("controller") ? attrs.remove("controller") : grailsAttributes.getController(request).controllerName
87
def action = attrs.remove("action")
88
def params = attrs.params ? attrs.remove('params') : [:]
89
0 commit comments