Set variables using compact at Controller view method. refs #5319