changed links to rails format