diff options
Diffstat (limited to 'app/models/blog.rb')
-rw-r--r-- | app/models/blog.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/blog.rb b/app/models/blog.rb new file mode 100644 index 0000000..d2b1c27 --- /dev/null +++ b/app/models/blog.rb | |||
@@ -0,0 +1,4 @@ | |||
1 | class Blog < Entry | ||
2 | validates :title, :body, presence: true | ||
3 | end | ||
4 | |||