Sha256: 17530d42daf57647ec81849be18e4cd409b0e1ed15cf7e1988fc4d3e9de78b9f

Contents?: true

Size: 242 Bytes

Versions: 7

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 html: BlueCloth.new(@macro.help_text).to_html
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.1 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0.pre6 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0.pre5 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0.pre4 app/controllers/admin/textfilters_controller.rb
publify_core-9.0.0.pre3 app/controllers/admin/textfilters_controller.rb