diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index ad9237e..6e47773 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -2,10 +2,18 @@

<%= @profile.description %>

-<% if @profile.posts.present? %> - +<% @profile.posts.each do |post| %> +
+
+

+ <%= post.text %> +

+ +

+ + <%= localize post.created_at, format: :short %> + +

+
+
<% end %>