<h1>Welcome <%= @user.name %></h1>

<p>Your details:</p>
<ul>
  <li>Name: <%= @user.name %></li>
  <li>Email: <%= @user.email %></li>
</ul>

<h1>Welcome <%= @user.name %></h1>

<p>Your details:</p>
<ul>
  <li>Name: <%= @user.name %></li>
  <li>Email: <%= @user.email %></li>
</ul>

<%= link_to 'View your diaries', user_diaries_path([@user]) %>

Add a link to diaries from user profile page
Add a link to diaries from user profile page
