moved preview to links controller
all working under one controller