Permalink
Browse files

Erroneous lingering use of g:button

  • Loading branch information...
1 parent 539c7c6 commit 1d9c08aa8c0356addfecab9c3444c5363defc67e @marcpalmer marcpalmer committed Apr 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 grails-app/taglib/org/grails/plugin/platform/SecurityTagLib.groovy
@@ -71,14 +71,14 @@ class SecurityTagLib {
}
def logoutButton = { attrs, body ->
- out << g.button([kind:'anchor']+grailsSecurity.createLink('logout'))
+ out << p.button([kind:'anchor']+grailsSecurity.createLink('logout'))
}
def loginButton = { attrs, body ->
- out << g.button([kind:'anchor']+grailsSecurity.createLink('login'))
+ out << p.button([kind:'anchor']+grailsSecurity.createLink('login'))
}
def signupButton = { attrs, body ->
- out << g.button([kind:'anchor']+grailsSecurity.createLink('signup'))
+ out << p.button([kind:'anchor']+grailsSecurity.createLink('signup'))
}
}

0 comments on commit 1d9c08a

Please sign in to comment.