-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add post history for help center and policy posts #1487
base: develop
Are you sure you want to change the base?
Conversation
Thanks for working on this! Based on our chat conversation, clicking on the history button will show a post history page like for other posts. (I initially misunderstood this screenshot.) This sounds good to me! |
#1490 should unblock the PR |
@@ -464,13 +464,9 @@ def restore | |||
end | |||
|
|||
def document | |||
@post = Post.unscoped.where(doc_slug: params[:slug], community_id: [RequestContext.community_id, nil]).first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to post.rb -> self.by_slug, no change other than taking parameter
closes #807
This PR enables post history views for the Help Center and policy posts: