Explorar el Código

Add User partial

Frans Bergman hace 7 años
padre
commit
c1803a9231
Se han modificado 1 ficheros con 4 adiciones y 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 %>