Skip to content
Snippets Groups Projects
Commit 9a149c41 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Start on articles

parent 0d78331f
Branches
Tags
No related merge requests found
class Article < Post
default_scope { where(post_type_id: Article.post_type_id) }
def self.post_type_id
PostType.mapping['Article']
end
end
\ No newline at end of file
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
- name: Answer - name: Answer
- name: PolicyDoc - name: PolicyDoc
- name: HelpDoc - name: HelpDoc
- name: Article
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment