From d11b16dad623ebb939416c2d1f026d80cca8a11b Mon Sep 17 00:00:00 2001 From: Yuki Date: Sat, 6 Jun 2015 05:57:15 +0530 Subject: [PATCH] Possibly fix /ajax/preview --- app/controllers/ajax/question_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ajax/question_controller.rb b/app/controllers/ajax/question_controller.rb index 2be73fc3..b0af3ae7 100644 --- a/app/controllers/ajax/question_controller.rb +++ b/app/controllers/ajax/question_controller.rb @@ -86,7 +86,7 @@ class Ajax::QuestionController < ApplicationController @message = "Failed to render markdown." begin - @markdown = markdown(params[:md], Time.new) + @markdown = markdown params[:md] @message = "Successfully rendered markdown." rescue @status = :fail