Permalink
Browse files

Forgot to update exception messages

  • Loading branch information...
1 parent 3928098 commit b4168d1bd69cf8eb7c4d3e82251433215b219d8b @ssherriff ssherriff committed Feb 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 grails-app/taglib/uk/co/desirableobjects/oauth/scribe/OauthTagLib.groovy
@@ -27,7 +27,7 @@ class OauthTagLib {
String provider = attrs.provider
if (!provider) {
- throw new GrailsTagException('No provider specified for <oauth:connect /> tag. Try <oauth:connect provider="your-provider-name" />')
+ throw new GrailsTagException('No provider specified for <oauth:connected /> tag. Try <oauth:connected provider="your-provider-name" />')
}
String sessionKey = oauthService.findSessionKeyForAccessToken(provider)
@@ -44,7 +44,7 @@ class OauthTagLib {
String provider = attrs.provider
if (!provider) {
- throw new GrailsTagException('No provider specified for <oauth:connect /> tag. Try <oauth:connect provider="your-provider-name" />')
+ throw new GrailsTagException('No provider specified for <oauth:disconnected /> tag. Try <oauth:disconnected provider="your-provider-name" />')
}
String sessionKey = oauthService.findSessionKeyForAccessToken(provider)

0 comments on commit b4168d1

Please sign in to comment.