Skip to content

Commit 97710f7

Browse files
author
nebolsin
committed
mistake in method name corrected
git-svn-id: https://svn.codehaus.org/grails/trunk@3973 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 1912fb7 commit 97710f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grails/grails-app/taglib/ApplicationTagLib.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ApplicationTagLib {
8383
attrs = attrs.remove('url')
8484
}
8585

86-
def controller = attrs.contains("controller") ? attrs.remove("controller") : grailsAttributes.getController(request).controllerName
86+
def controller = attrs.containsKey("controller") ? attrs.remove("controller") : grailsAttributes.getController(request).controllerName
8787
def action = attrs.remove("action")
8888
def params = attrs.params ? attrs.remove('params') : [:]
8989

0 commit comments

Comments
 (0)