Migrated preview snippet controller