require 'scrivito/workspace' module Scrivito class Workspace # Backport a "solution" for broken diff view def base_revision if base_revision_id @base_revision ||= Revision.new(id: base_revision_id, content_state: base_content_state, workspace: self) end end end end