about summary refs log tree commit diff stats
path: root/app/models/blog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blog.rb')
-rw-r--r--app/models/blog.rb4
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 @@
1class Blog < Entry
2 validates :title, :body, presence: true
3end
4