rename to rswag plus major refactor - almost a rewrite

This commit is contained in:
richie
2016-10-11 18:31:12 -07:00
parent f8d993356f
commit c558098c39
453 changed files with 52410 additions and 35793 deletions

View File

View File

@@ -0,0 +1,11 @@
class Blog < ActiveRecord::Base
validates :content, presence: true
def as_json(options)
{
id: id,
title: title,
content: content
}
end
end