config/initializers/rabl.rb in spree_api-4.3.3 vs config/initializers/rabl.rb in spree_api-4.4.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
Rabl.configure do |config|
config.include_json_root = false
config.include_child_root = false
# Motivation here it make it call as_json when rendering timestamps
- # and therefore display miliseconds. Otherwise it would fall to
- # JSON.dump which doesn't display the miliseconds
+ # and therefore display milliseconds. Otherwise it would fall to
+ # JSON.dump which doesn't display the milliseconds
config.json_engine = ActiveSupport::JSON
end