mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: remove unused 'composer/parse_html' route
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ComposerController < ApplicationController
|
||||
|
||||
requires_login
|
||||
|
||||
def parse_html
|
||||
markdown_text = HtmlToMarkdown.new(params[:html]).to_markdown
|
||||
|
||||
render json: { markdown: markdown_text }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user