Restored Pins controller to add respond_to