This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
discourse
Watch
2
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-12-14 21:34:23 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
d1c12539dd
discourse
/
spec
/
fabricators
/
shared_draft_fabricator.rb
7 lines
83 B
Ruby
Raw
Normal View
History
Unescape
Escape
DEV: use #frozen_string_literal: true on all spec This change both speeds up specs (less strings to allocate) and helps catch cases where methods in Discourse are mutating inputs. Overall we will be migrating everything to use #frozen_string_literal: true it will take a while, but this is the first and safest move in this direction
2019-04-30 08:27:42 +08:00
# frozen_string_literal: true
FEATURE: Shared Drafts This feature can be enabled by choosing a destination for the `shared drafts category` site setting. * Staff members can create shared drafts, choosing a destination category for the topic when it is published. * Shared Drafts can be viewed in their category, or above the topic list for the destination category where it will end up. * When the shared draft is ready, it can be published to the appropriate category by clicking a button on the topic view. * When published, Drafts change their timestamps to the current time, and any edits to the original post are removed.
2018-03-14 03:59:12 +08:00
Fabricator
(
:shared_draft
)
do
topic
category
end
Reference in New Issue
Copy Permalink