app/views/spree/api/taxonomies/_taxonomy.json.jbuilder in solidus_api-2.5.2 vs app/views/spree/api/taxonomies/_taxonomy.json.jbuilder in solidus_api-2.6.0.rc1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
if params[:set] == "nested"
json.partial!("spree/api/taxonomies/nested", taxonomy: taxonomy)
else
json.(taxonomy, *taxonomy_attributes)
json.root do