mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 19:13:35 +01:00
Possibly fix /ajax/preview
This commit is contained in:
parent
1796283ace
commit
d11b16dad6
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Ajax::QuestionController < ApplicationController
|
||||||
|
|
||||||
@message = "Failed to render markdown."
|
@message = "Failed to render markdown."
|
||||||
begin
|
begin
|
||||||
@markdown = markdown(params[:md], Time.new)
|
@markdown = markdown params[:md]
|
||||||
@message = "Successfully rendered markdown."
|
@message = "Successfully rendered markdown."
|
||||||
rescue
|
rescue
|
||||||
@status = :fail
|
@status = :fail
|
||||||
|
|
Loading…
Reference in a new issue