Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cyril Fluck
authored and
Cyril Fluck
committed
Jan 28, 2012
1 parent
9fb65b1
commit ec71838
Showing
4 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
- if current_user | ||
- elsif @new_invitee | ||
%h1 Welcome to TennisYourWorld | ||
= link_to 'Join Us!', user_omniauth_callback_path | ||
- else | ||
<script src="http://connect.facebook.net/en_US/all.js"></script> | ||
<div id="fb-root"></div> | ||
%script | ||
FB.init({appId: '185797408106593', xfbml: true, cookie: true, oauth: true}); | ||
FB.login({scope: 'email}); | ||
%h1 We're sorry, but TennisYourWorld is a private group. | ||
%p You need to be invited by a member in order to access this content. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters