app/helpers/lookbook/preview_helper.rb in lookbook-1.1.1 vs app/helpers/lookbook/preview_helper.rb in lookbook-1.2.0
- old
+ new
@@ -3,9 +3,9 @@
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)
+ Lookbook.data.fetch(key.to_sym, fallback)
end
end
end