Routes fixed and kaminari pagination added to posts.