Class: Spree::Admin::MarkdownController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/admin/markdown_controller.rb

Instance Method Summary collapse

Instance Method Details

#previewObject



3
4
5
# File 'app/controllers/spree/admin/markdown_controller.rb', line 3

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