unified js for dtext previews
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class DtextPreviewsController < ApplicationController
|
||||
def create
|
||||
render :inline => "<h1 class=\"preview-header\">Preview</h1><%= format_text(params[:body]) %>"
|
||||
render :inline => "<%= format_text(params[:body]) %>"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user