Started working on a blog for the website; adjusted some styles
This commit is contained in:
7
app/models/post.rb
Normal file
7
app/models/post.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class Post < ApplicationRecord
|
||||
|
||||
def renderBody()
|
||||
Kramdown::Document.new(self.body).to_html()
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user