Fixed error by adding @ to pin in line 7 in views/pins/show.html.erb