summaryrefslogtreecommitdiff
path: root/app/controllers/shared_previews_controller.rb
AgeCommit message (Collapse)Author
2026-07-06Add public preview links for draftserdgeist
Lets editors share a draft with people outside the admin system, via a random per-page token rather than an enumerable id - /preview/<token>. shared_previews#show is intentionally unauthenticated. Redirects to the real public URL once the page is published. Surfaced on nodes#show (Admin Preview + Public Preview, next to Public Link) as generate/revoke buttons.