Sha256: fdb193b8fc97daa2de92c1fcb083792851e432a586cc97d1cd73b0c3073bf3a8
Contents?: true
Size: 296 Bytes
Versions: 5
Compression:
Stored size: 296 Bytes
Contents
module Markitup::Rails # Public: Provide server-side preview of editor markup # class PreviewController < ApplicationController layout Markitup::Rails.configuration.layout def preview @content = Markitup::Rails.configuration.formatter.call(params[:data]) end end end
Version data entries
5 entries across 5 versions & 1 rubygems