Attempt to add link in photos to return to profile

I doubt I did this correctly for I don't know HAML. But this was an attempt (Line 69) to add a link for going back to a profile from photos instead of hitting the "Back" button in the browser.