changed @posts to @pins in the pins index page