summaryrefslogtreecommitdiff
path: root/db/schema.rb
AgeCommit message (Collapse)Author
10 daysRedirect a page to a node or an external URLerdgeist
Page#redirect_target resolves the precedence and returns nil for a destination that is restricted or has no head, so a page with a broken target renders itself rather than linking nowhere. The banner partial will call the same method, so the redirect and the link cannot drift. One hop, no exceptions, checked in publish_draft! rather than as a validation: two nodes publishing concurrently could each pass a save-time check and still produce a chain. "Live" means heads only, a draft redirect that has not published is not yet a link anyone can follow. Node.search excludes redirecting pages. editor_search does not: an editor looking for one searches by title, and only the body is worth hiding.
2026-08-09Make db/schema.rb the authoritative database descriptionerdgeist