Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change Page model to use RDiscount

  • Loading branch information...
commit a4a7ef459569e3cad3cdb0ed6fbb1c184963a2cf 1 parent 46faa4a
@jdpace authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/models/page.rb
View
4 app/models/page.rb
@@ -15,7 +15,7 @@ def to_param
protected
def cache_body_html
- blue_cloth = BlueCloth::new(body)
- self.body_html = blue_cloth.to_html
+ markdown = RDiscount.new(body)
+ self.body_html = markdown.to_html
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.