unified js for dtext previews

This commit is contained in:
albert
2011-10-20 18:50:16 -04:00
parent f630365c3b
commit e8808987d5
21 changed files with 101 additions and 190 deletions

View File

@@ -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