added an <% end %> tag where one was missing after my link_to declaration in the notifications view