creates show page for posts controller