Fixed bug in linking to permissions#edit in versions#index.