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

Version Path
mongoid-forums-1.0.6 app/helpers/mongoid_forums/application_helper.rb
ack-mongoid-forums-1.0.5 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-1.0.4 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-1.0.3 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-1.0.2 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-1.0.1 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-1.0.0 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.11 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.10 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.9 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.5 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.4 app/helpers/mongoid_forums/application_helper.rb
mongoid-forums-0.0.3 app/helpers/mongoid_forums/application_helper.rb