app/presenters/guide_presenter.rb
# Append token parameters to part paths to allow fact-checkers to fact-check all pages
Append token parameters to part paths to allow fact-checkers to fact-check all pages
Append token parameters to part paths to allow fact - checkers to fact - check all pages
def parts
    if draft_access_token
      super.each do |part|
        part["full_path"] = "#{part['full_path']}?#{draft_access_token_param}"
      end
    else
      super
    end
  end
def parts if draft_access_token super . each do | part | part [ "full_path" ] = "#{part['full_path']}?#{draft_access_token_param}" end else super end end
Append token parameters to part paths to allow fact-checkers to fact-check all pages
Append token parameters to part paths to allow fact - checkers to fact - check all pages