Skip to content

Commit

Permalink
Refactoring due to Facebook SDK V0.4 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Hediard committed Sep 23, 2012
1 parent b9f3383 commit e4c1e01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Grails Metadata file
#Wed May 23 20:45:28 CEST 2012
app.grails.version=2.0.4
#Sun Sep 23 22:11:18 CEST 2012
app.grails.version=2.1.1
app.name=facebook-sdk-demo
app.servlet.version=2.5
app.version=0.1
2 changes: 1 addition & 1 deletion grails-app/views/app/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<g:if test="${!facebookContext.authenticated}">
<h2 class="tab">Authentication</h2>
<p>
Install app via Facebook JavaScript SDK: <facebook:loginLink appPermissions="${facebookContext.app.permissions.join(',')}" elementClass="large primary btn">Login</facebook:loginLink>
Install app via Facebook JavaScript SDK: <facebook:loginLink appPermissions="${facebookContext.app.permissions}" elementClass="large primary btn">Login</facebook:loginLink>
</p>
</g:if>
<g:else>
Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/website/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<g:else>
<ul class="authentication">
<li>
<facebook:loginLink appPermissions="${facebookContext.app.permissions.join(',')}" elementClass="large primary btn pull-right">Login</facebook:loginLink>
<facebook:loginLink appPermissions="${facebookContext.app.permissions}" elementClass="large primary btn pull-right">Login</facebook:loginLink>
Log in via Facebook JavaScript SDK:<br />
(<i>client-side, with Facebook Grails SDK handling authorization code from cookie on reload</i>)
</li>
Expand Down

0 comments on commit e4c1e01

Please sign in to comment.