Sha256: 72467bed11801c78c043ab1a7a9e71a8e0a496e23500f6e67c760d9ea9f7109f
Contents?: true
Size: 540 Bytes
Versions: 13
Compression:
Stored size: 540 Bytes
Contents
module MongoidForums module ApplicationHelper include FormattingHelper # processes text with installed markup formatter def mongoid_forums_format(text, *options) as_formatted_html(text) end def mongoid_forums_quote(text) as_quoted_text(text) end def mongoid_forums_markdown(text, *options) #TODO: delete deprecated method Rails.logger.warn("DEPRECATION: mongoid_forums_markdown is replaced by mongoid_forums_format(), and will be removed") forem_format(text) end end end
Version data entries
13 entries across 13 versions & 2 rubygems