Update controller.go

Fix layout path problem