implementation of Post#index Post#show