app/helpers/lookbook/preview_helper.rb in lookbook-1.1.0 vs app/helpers/lookbook/preview_helper.rb in lookbook-1.1.1
- 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.get(key, fallback)
+ Lookbook.data.fetch(key, fallback)
end
end
end