Sha256: 3b3ff08bc0d487f088c27d26fc2fe51b01f9305d0abc905b446e309ae77b10a0

Contents?: true

Size: 144 Bytes

Versions: 13

Compression:

Stored size: 144 Bytes

Contents

class Admin::MarkdownController < Admin::BaseController

  def preview
    render :text => RDiscount.new(params[:data].to_s).to_html
  end 

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_essentials-0.3.3 app/controllers/admin/markdown_controller.rb
spree_essentials-0.2.3 app/controllers/admin/markdown_controller.rb
spree_essentials-0.3.2 app/controllers/admin/markdown_controller.rb
spree_essentials-0.3.1 app/controllers/admin/markdown_controller.rb
spree_essentials-0.2.2 app/controllers/admin/markdown_controller.rb
spree_essentials-0.2.1 app/controllers/admin/markdown_controller.rb
spree_essentials-0.2.0 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.4 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.3 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.2 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.1 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.0 app/controllers/admin/markdown_controller.rb
spree_essentials-0.1.0.pre app/controllers/admin/markdown_controller.rb