This commit is contained in:
joshua stein 2012-07-01 21:08:03 -05:00
parent 6b76eadcec
commit c38fb2ed95
2 changed files with 3 additions and 2 deletions

View file

@ -48,7 +48,8 @@ class User < ActiveRecord::Base
end
def linkified_about
Markdowner.markdown(self.about)
RDiscount.new(self.about.to_s, :smart, :autolink, :safelink,
:filter_html).to_html
end
def recent_threads(amount = 20)

View file

@ -36,7 +36,7 @@
<label class="required">Comments Posted:</label>
<span class="d">
<%= Keystore.get("user:#{@showing_user.id}:comments_posted").to_i %>
<%= @showing_user.comments_posted_count %>
</span>
<br>