Browse Source

Add User partial

Frans Bergman 7 years ago
parent
commit
c1803a9231
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/views/users/_user.html.erb

+ 4 - 0
app/views/users/_user.html.erb

@@ -0,0 +1,4 @@
+<%= link_to user do %>
+  <%= image_tag user.picture.tiny %>
+  <%= user.name %>
+<% end %>