FEATURE: Show Reply count on blog index page when embedding

This commit is contained in:
Robin Ward
2014-01-13 12:47:24 -05:00
parent 0b58266934
commit af3edfd5eb
3 changed files with 60 additions and 0 deletions

View File

@ -243,6 +243,7 @@ Discourse::Application.routes.draw do
get "topics/private-messages-unread/:username" => "list#private_messages_unread", as: "topics_private_messages_unread", constraints: {username: USERNAME_ROUTE_FORMAT}
get 'embed/comments' => 'embed#comments'
get 'embed/count' => 'embed#count'
# Topic routes
get "t/:slug/:topic_id/wordpress" => "topics#wordpress", constraints: {topic_id: /\d+/}