top-right link goes to view profile

The link at the top-right of the page goes to the view profile page instead of edit profile.
There is now a link to the profile edit page from your profile view.