Used RESTful Rails helpers instead of static urls