added back switchAll function in controller.js (deleted by mistake?)
1 file changed