Commit ad67c78c

mo k <mo@mokhan.ca>
2012-06-04 12:13:04
add link to public profile from private profile page.
1 parent 446c742
Changed files (1)
app
views
app/views/profiles/mine.html.erb
@@ -25,6 +25,7 @@
       <img src="<%= avatar_url current_user %>&amp;s=260" alt="<%= current_user.name %>" />
       <div class="caption">
         <h5><%= current_user.name %></h5>
+        <p> <%= link_to "My Public Profile", profile_path(current_user) %></p>
         <p>member since: <%= current_user.created_at.to_s :foomat %></p>
         <p>last signed in: <%= current_user.last_sign_in_at.to_s :foomat %></p>
         <hr>