Convert links to rails helpers