Updated pins_controller.rb to fix error