Skip to content
Browse files

Facebook login

  • Loading branch information...
1 parent d779b64 commit 9a6a92d203350ab6da0f6d833223ce9bf0b35b74 @lfzawacki committed
Showing with 3 additions and 1 deletion.
  1. +2 −0 Gemfile
  2. +1 −1 app/views/layouts/application.html.erb
View
2 Gemfile
@@ -8,6 +8,8 @@ gem 'hirb'
gem 'koala'
gem 'sqlite3','1.3.4'
gem 'will_paginate'
+gem 'omniauth'
+gem 'omniauth-facebook'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
View
2 app/views/layouts/application.html.erb
@@ -35,7 +35,7 @@
<a href="/" title="poabugs início">poabugs</a>
</h1>
</li>
- <li class="right">login whit facebook</li>
+ <li class="right"> <%= link_to "Log in with Facebook", "/auth/facebook" %></li>
</ul>
</div>
</div>

0 comments on commit 9a6a92d

Please sign in to comment.
Something went wrong with that request. Please try again.