diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-06 06:09:21 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-06 06:09:21 +0200 |
| commit | 9e63a6bec1b4ccc45dd684f7b6a941b75f9b9cf0 (patch) | |
| tree | 8c7842b3703ad2224deace37f9bd48df3374349b /app/models/application_record.rb | |
| parent | b547decd1f85b43d5fb9e86cd7462b455059b1d1 (diff) | |
Add public preview links for draftserdgeist-revive-events
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.
Diffstat (limited to 'app/models/application_record.rb')
0 files changed, 0 insertions, 0 deletions
