Explorar o código

Add User partial

Frans Bergman %!s(int64=7) %!d(string=hai) anos
pai
achega
c1803a9231
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 %>