This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

add Follow button on user profile page

  • Loading branch information...
telent committed Mar 30, 2012
1 parent 9a20b1a commit d79233b264cb8d6b4e9ce5677a83cd65661347c2
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/views/users/show.html.erb
@@ -22,7 +22,8 @@
<br clear=both>
<%= link_to 'Edit', edit_user_path(@user) %> |
-<%= link_to 'Back', user_path %> |
+<%= render partial: "shared/follow_button", { :user=>@user }
+ %>
</div>

0 comments on commit d79233b

Please sign in to comment.