module Lookbook module PreviewHelper def lookbook_display(key, fallback = nil) params.dig(:lookbook, :display, key.to_sym) || fallback end def lookbook_data(key, fallback = nil) Lookbook.data.fetch(key, fallback) end end end