X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff97501ed01488f8ff8e9d2e7b93b4f295f71725..d85621c7aea365b1548d5301af292528dd8b329d:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index abd4696e0..6e26e798f 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -115,7 +115,7 @@ class SiteController < ApplicationController def offline; end def preview - render :html => RichText.new(params[:format], params[:text]).to_html + render :html => RichText.new(params[:type], params[:text]).to_html end def id