Edit blob button doesn't work on Blame page for signed in users without access to the repo
Bug introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10233.
This section of code should be moved to the projects/blob/header
partial to be available on both the Blob and Blame pages.
/cc @MadLittleMods