Merge pull request #3406 from techAPJ/patch-2

FEATURE: prefill topic title, body and category via URL
This commit is contained in:
Sam
2015-04-29 13:46:26 +10:00
6 changed files with 54 additions and 2 deletions

View File

@ -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+/}