class SiteHealth::PageNotFound

Checks if HTML-meta title is present

Protected Instance Methods

check() click to toggle source
# File lib/site_health/checkers/page_not_found.rb, line 18
def check
  if page.missing?
    add_data(not_found: true)
    add_issue_type(:not_found)
    return
  end

  add_data(not_found: false)
end