lib/contentful/management/editor_interface.rb in contentful-management-1.8.1 vs lib/contentful/management/editor_interface.rb in contentful-management-1.9.0
- old
+ new
@@ -43,10 +43,10 @@
# @private
def self.build_endpoint(endpoint_options)
space_id = endpoint_options.fetch(:space_id)
content_type_id = endpoint_options.fetch(:content_type_id)
- "/#{space_id}/content_types/#{content_type_id}/editor_interface"
+ "spaces/#{space_id}/content_types/#{content_type_id}/editor_interface"
end
# Updates an Editor Interface
#
# @param [Hash] attributes