Refactoring some code
	modified:   controllers/link.js