Fixed bug at PageLinks helper and added to view