change post resource to posts/show; bugfixes
correction