class SiteHealth::Redirect

Checks if page is a redirect (works with HTTP 3XX status and HTML body redirects)

Protected Instance Methods

check() click to toggle source
# File lib/site_health/checkers/redirect.rb, line 10
def check
  add_data(redirect: page.redirect?)
end