Example scaffold controller code