login with provider in personal room

This commit is contained in:
Zachary Chai
2016-10-20 10:15:56 -04:00
parent e1ab78ec63
commit 4ec17344eb
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<span class="user">Hello <%= current_user.name %></span>
<%= link_to "Logout", user_logout_url() %>
<% else %>
<%= link_to "Login", "/auth/twitter" %>
<%= link_to "Login", "/auth/#{@user.provider}" %>
<% end %>
</div>
</div>
@ -21,4 +21,3 @@
</div>
</div>