<%# add navigation links to this file %>
<% if user_signed_in? %>
  <li><%= link_to 'Edit account', edit_user_registration_path %></li>
  <li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
<% end %>

<%# add navigation links to this file %>
<% if user_signed_in? %>
  <li><%= link_to 'Edit data', events_url %></li>
  <li><%= link_to 'Edit account', edit_user_registration_path %></li>
  <li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
<% end %>

Add link to edit events data, visible to logged-in users.
Add link to edit events data, visible to logged-in users.
