Sha256: 5459af05c62c3085858ae57fe019688026ad75ead9605a2822e532562ec63e93

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

class Admin::TextfiltersController < Admin::BaseController
  def macro_help
    @macro = TextFilterPlugin.available_filters.find { |filter| filter.short_name == params[:id] }
    render text: BlueCloth.new(@macro.help_text).to_html
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
publify_core-9.0.0.pre2 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0.pre1 app/controllers/admin/textfilters_controller.rb