changed partial to fix error, working on posts#controller