mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Merge pull request #3406 from techAPJ/patch-2
FEATURE: prefill topic title, body and category via URL
This commit is contained in:
@ -415,6 +415,8 @@ Discourse::Application.routes.draw do
|
||||
get 'embed/comments' => 'embed#comments'
|
||||
get 'embed/count' => 'embed#count'
|
||||
|
||||
get "new-topic" => "list#latest"
|
||||
|
||||
# Topic routes
|
||||
get "t/id_for/:slug" => "topics#id_for_slug"
|
||||
get "t/:slug/:topic_id/wordpress" => "topics#wordpress", constraints: {topic_id: /\d+/}
|
||||
|
Reference in New Issue
Block a user