forum previews working

This commit is contained in:
albert
2011-03-12 16:09:11 -05:00
parent 21cc1cbafa
commit bd520f61f7
29 changed files with 1516 additions and 81 deletions

View File

@@ -1,5 +1,5 @@
class DtextController < ApplicationController
def preview
render :inline => "<h1>Preview</h1><%= format_text(params[:body]) %>"
render :inline => "<h1 class=\"preview-header\">Preview</h1><%= format_text(params[:body]) %>"
end
end